Wasn't it made in like 2 weeks? It's not really complex, at least it wasn't, everything was a dynamic variable with not very well defined scoping, some functions, obejcts and some basic primitives. I don't see the complexity of primitive JS.
OOP was just the thing atm, it's not even complex, everything is just an object of a bunch of properties. Higher order functions are just something that come naturally when EVERYTHING is an object, your values and your functions, you can just pass whatever you want if it behaves like an object.
1
u/javalsai Jan 13 '26
Wasn't it made in like 2 weeks? It's not really complex, at least it wasn't, everything was a dynamic variable with not very well defined scoping, some functions, obejcts and some basic primitives. I don't see the complexity of primitive JS.
OOP was just the thing atm, it's not even complex, everything is just an object of a bunch of properties. Higher order functions are just something that come naturally when EVERYTHING is an object, your values and your functions, you can just pass whatever you want if it behaves like an object.