3 ms·
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
by bocata_chorizo 10y ago
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.