3 ms·
As a side note, did you consider switching to statically typed language with a good IDE?
by zerr 8y ago
As a side note, did you consider switching to statically typed language with a good IDE?
- 52-6F-62 8y agoThis isn’t a bad suggestion. I make silly spelling mistakes all of the time. Especially if there are other things going on in the office. When I have to work with large JavaScript codebases I always move for TypeScript for that very reason. It won’t compile if I’ve done something like that and will happily shout the line at me that (paraphrased example): 545: someArray.srt((a: number, b: number) => a-b) - ‘srt’ does not exist on type Array Etc, etc. And good integration with an editor or IDE will produce these errors without needing to run the compile step which saves a lot of time and frustration.
- pbowyer 8y agoThe good IDE is key for me (I am dyslexic too). I find Jetbrains' products to be a saviour with all the autocomplete and intellisense. I don't have to worry if I've spelled the variable incorrectly or (more frequently) used a synonym instead of the word I first used; autocomplete catches it.