Re:Ask HN: What cool development languages/tools changed you...
by bocata_chorizo on Tuesday October 25, 2016 @05:36AM
(#12786512)
For me it was JavaScript.
I learned C and C++ in university. It was all either procedural or object-oriented.
JavaScript made things a lot simpler, especially first class functions and higher order functions. It delighted me that you can just pass the function like it's a variable instead of messing with pointers. It's also delightful that a normal function can return an object. No constructors, instantiation, hierarchies, complications. Just spit out the object. It's simple!
Lodash's "chain" was my gateway into functional programming. I am avoiding getting too deep into that because it feels kinda cultish the way adherents claim its superiority, but it has nevertheless impacted the way I approach problems.
I learned C and C++ in university. It was all either procedural or object-oriented.
JavaScript made things a lot simpler, especially first class functions and higher order functions. It delighted me that you can just pass the function like it's a variable instead of messing with pointers. It's also delightful that a normal function can return an object. No constructors, instantiation, hierarchies, complications. Just spit out the object. It's simple!
Lodash's "chain" was my gateway into functional programming. I am avoiding getting too deep into that because it feels kinda cultish the way adherents claim its superiority, but it has nevertheless impacted the way I approach problems.