|
|
|
|
|
by khalidx
1072 days ago
|
|
One useful thing I’ve found with typed languages is that I end up implementing the entire specification for a program in the type system even before writing a single line of actual working code. Makes it easy to fix and refactor things early on and improve things from a developer experience and interface perspective. I push implementing a function as far out as possible, when the entire structure of the program becomes clear. This hack easily makes me 10x more productive. Plus I don’t share the same annoyances with types and TypeScript for example that other devs face. Once it’s set up (just adding a tsconfig file and a package file) the type system just sort of disappears — I mean, I rarely fight with it. I do agree though that most of the complaints with these systems, languages, and tools really come from the vast amount of competing “getting started” and build guides that always seem to get out of date or use some radical new way of doing things that upsets the whole ecosystem. There have been so many changes in this regard. That, I will say, I don’t have an answer for. |
|