Using TypeScript everywhere is best suited for JS developers with at least medium experience. Don’t be scared of TypeScript. Use prototypes and/or MVPs before implementing complex features. Use ESLint and Prettier together and you can focus on what your code does. If you use prettier, it will join multi-line breaks.
Table of contents
How to write maintainable JavaScript code in 2023 — Web or Node.jsContents of this article:Use TypeScript everywhereLearn your JavaScript and frameworks wellCode formatting and styleComments in code and inline documentationWrite meaningful and useful tests where applicableUse prototypes and/or MVPs before implementing complex featuresBonus: A few extra tips13 Comments
Sort: