Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You mean I hate the least? I think that must be Python, Lua or VBA. Ive done most with VBA (love hate relationship with it). Lua I learned through computercraft and made a little game with later on. With python I've build a small raspberry pi robot. But I really hate functional programming
-
watzon45887y@Codex404 none of those (except maybe Lua, I don’t really know) are functional languages by nature though. I won’t touch Python with a 10 ft pole anymore though lol.
Might I ask why the hatred for functional programming? -
@dev0urer if that is the case then I'm wondering what functional languages are, I always thought it were languages where there was no way to make classes without a lot of hacking.
I've started out as gamedeveloper and see every little thing as classes and objects. (Even software I use is divided in my mind in to classes/objects). When I after 6 years of programming suddenly had to start (school) program functionally instead of OOP to "learn programming" I didn't understand how to do it in a way that makes sense. After a year they said that that isn't the best way to do it and learned us about classes. This is why I hate it that much -
watzon45887y@Codex404 it’s not necessarily about classes, it’s more about objects or the lack thereof. Python is an OOP language by nature. Sure you can do functional programming in it, but it will never be purely functional. Languages like Haskell, Elm, Elixir, and Clojure are examples of purely functional languages (although with Clojures reliance on Java I don’t feel like it’s quite as “pure”).
The great thing about functional languages is that you avoid mutating any kind of state, but especially global state. With that there is an express lack of “side effects” from running individual functions which means code is more predictable. Instead all functions return a value of some kind that is then passed along.
This coming from someone that’s worked with primarily OOP languages for the past 7 years. I love the idea behind functional programming :) -
siksik2447yI've started with Haskell (currently reading on Applicative Functors), so that would be it for me. I'll guess I'll know better once I check Elm and Elixir :)
Related Rants
Favorite functional programming language and why. Go!
undefined
elixir
f#
lisp
clojure
functional programming
haskell
erlang
scala