Been programming/refactoring Node.js code all day and I think a part of my soul died. Like Node for some things but I really do think there's better languages for building out back-end services.
-
-
Doing client work right now and refactoring. Hard to mentally wrap around how all the pieces of the puzzle fit together.
-
Gotcha. Yeah unfortunately every node project is it's own bespoke little world. I find TS makes refactoring easier but sane code/file organization is a constant battle :( especially as projects grow
End of conversation
New conversation -
-
-
Well, I guess Typescript does help a lot on NodeJs, to make JavaScript itself type safe, benefits with editors;auto completion, catching errors early, classes,..., but then you'd have to have a proper setup to not suffer through transpiling TS as the project grows.
-
It's not true type safety though. >_>
-
Of course, it will never be fully typesafe while the underlying thing is so lose, but I'd rather use Typescript than have JavaScript cry at me at runtime, with something that should've been raised earlier at compile time.
-
Loose type checking > no type checking
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.