by EastSmith on 5/7/23, 10:55 PM with 12 comments
by smt88 on 5/7/23, 11:17 PM
Even Rust is still nominally typed, which means you have a lot more boilerplate.
by turtleyacht on 5/7/23, 11:18 PM
The authors praise--and begin with an example from--D3.js, and work through handrolled dependency injection, aspects, and test-driven development with Jasmine.
Truly understanding `this`, .bind, .apply, and .call may be essential to a mastery of (vanilla) Javascript.
by agency on 5/8/23, 12:07 AM
by russellbeattie on 5/8/23, 2:03 AM
by MatthiasPortzel on 5/8/23, 12:19 AM
(For those who don't know, the tweet author is the Rails creator.)
by rektide on 5/8/23, 3:28 AM
But on the other side, writing code consuming TypeScript libraries is amazing. Seeing all the type information in the IDE reveals so much, resolves so many questions, and builds confidence so quickly.
The other issue with TypeScript is that tooling is all awful & terrible. Tsconfig is a drag. There's a serious lack of good conventions to follow & tons of ad-hoc stringing shit together. Ideally libraries should output both esm & cjs but typescript literally doesn't support it & you have to run typescript twice, so now you maybe are introducing yet more new tools like concurrently if you want to do a good job. Oh and now your "watch" script is even more janked up too. Deno does a good job of making this pain all go away, but in general TypeScript is one of multiple layers of tooling that simply sucks, that thieves energy & attention.
by baddevtool on 5/7/23, 11:38 PM
by Existenceblinks on 5/8/23, 4:52 AM