News for hackers. Stuff that matters.
Re:The more you learn, the faster you can learn by lacampbell on Monday September 02, 2019 @05:37PM (#20861933)
Javascript/Typescript, and yes, pretty much.

This are how you make objects, this are how you make functions, here's constants, here's variables. Use let instead of var for the scoping you're familiar with. Here's a standard library, it's a bit spartan but pretty much everything is familiar.

Later on I stopped using 'class' and 'this' and just used closures that return objects (I consider it more idiomatic, YMMV). I got a good feeling for when to use an object and when to use a Map.

There are no comments on this comment yet.