0

What is difference between faction programming and oop programming..

help plzz need it

22nd Sep 2017, 12:55 PM
White code
White code - avatar
2 Réponses
+ 3
In OOP, nearly everything works by classes and object. Did you know that your "int" is actually a keyword for a class Integer? So you can create Integer x = new Integer(6); //int x =6; and it is actually valid. For functionals, nearly everything is in a function. Say if i do let x = 6 //F# You can say that x is a function that simply returns 6. That is true but wouldnt make much sense too.
22nd Sep 2017, 4:02 PM
Wen Qin
Wen Qin - avatar
0
Not 100% true. They are structs(int, double, etc...) in some languages.
27th Sep 2017, 5:34 PM
Yasser Kaddoura
Yasser Kaddoura - avatar