3 ms·
Then show me a counter example and by that I mean name a specific, complex, in-production project written in a functional language. Also, can you define "this
by buff-a 15y ago
Then show me a counter example and by that I mean name a specific, complex, in-production project written in a functional language.
Also, can you define "this problem" because I'm not sure which one you are referring to.
- jorgeleo 15y agoOk. Javascript. It is closer to functional programming than to object oriented. But most developers don't see this and believe that since they can get by shoehorning "classes" into a prototype then they are back to what is familiar. Prototypes are templates, no classes. Once you develop in javascript with a functional mentality, boy it becomes easy and elegant. Sql and set theory is another example. On the more abstracted side... Requirements modeling and calculus. Calculus classes should change the way that you percive
- jorgeleo 15y agoPressed reply instead of the word correction. Calculus should change the way you understand and perceive the world around, if it didn't, either you got bad teachers and need to ask for your money back, or you were studying only for the test. And there are a lot of examples, but you can see that AFTER you understand and apply the math behind the concept. Getting by without it is not a proof of its futility, it is only a defense mechanism of the ego.
- jorgeleo 15y agoThe problem... Models are brittle. If they are, then they are not complete enough.
- rdouble 15y agoIf you mean functions are first class and lambdas exist, any project written in Ruby or Javascript.
- buff-a 15y agoDo these programs meet the OPs definition of functional programming, or are they, in fact, a whole bunch of imperative code that use closures as a method for scheduling more imperative code?