top | item 38659394

(no title)

lamerose | 2 years ago

Not a fan of Python, but it isn't too bad pedagogically speaking. JS on the other hand... I hope WASM can one day kill it, leave it obsolete, and have it forcefully deprecated like Flash.

discuss

order

d-lisp|2 years ago

Can you explain what you find bad about js ? I use typescript and I am honestly finding it awesome; and I am the type of person that coded in lisp for a long time.

We have lambdas, flexible structures, FP methods (map, filter, reduce...), can express recursion easily, we have ternary operators, array and object destructuring (const {a,b,...rest}=init()). We have a nice way to deal with asynchronicity. We have some kind of class system. And thanks to typescript we have a really great and expressive type system that's very cool and eases the job a lot.