Re:OOP Isn't a Fundamental Particle of Computing
by pjmlp on Wednesday November 14, 2012 @12:05PM
(#4784212)
Standard ML, Haskell, Miranda, Lisp, Scheme, OCaml, F#
Re:OOP Isn't a Fundamental Particle of Computing
by klibertp on Wednesday November 14, 2012 @04:51PM
(#4785783)
Ok, thanks, now I understand what you mean.
Just note that F# is not functional by your definition, because all it's core datastructures (tuples, arrays, lists) are actually objects, with methods on them etc.
Re:OOP Isn't a Fundamental Particle of Computing
by pjmlp on Wednesday November 14, 2012 @06:21PM
(#4786163)
Regarding F# I was not sure if I should have mentioned it.
Still do not much about it or how its implementation generates code, as the MSIL supports much more than just OO constructs.
Re:OOP Isn't a Fundamental Particle of Computing
by klibertp on Thursday November 15, 2012 @07:22AM
(#4788205)
Yeah, but it's not possible (I think, but am not 100% sure) to reason about F# code without object semantics because of how it's implemented: it probably could be implemented on top of MSIL without objects, but (again, not 100%, but 95% sure :)) it isn't.
I thought about another language I think you'd call functional: Lua. It supports first- and higher-order functions and has no objects at all in the core language. What do you think?
Also, now that I understand what you mean I can agree with you, but you do realize that this is not very common definition of "functional", right? :)
Also, it seems that only languages you think worthy of being called "funtional" are various (typed or not) lambda calculi implementations?
What is Scala, then? Not functional at all, too?
Could you maybe provide a few examples of languages you'd call "functional" or "supporting functional programming paradigm"?