-
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
The second part is TypeScript (or TS, as I referred to it before). It's a push to make JavaScript more OOP-friendly by adding enforceable types, type checking, etc. If you use the VSCode extension listed in the sidebar, you can write your scripts in TS to make it easy to work with strong types and enable IntelliSense (so you can read the JSDoc info for each function, including those in NetScript's NS type) and make it easier and safer to work with your code. It's translated and compiled (aka "transpiled") down to JS before being moved over to the game, so in-game nothing is different. Pretty neat stuff! :)
-
The second part is TypeScript (or TS, as I referred to it before). It's a push to make JavaScript more OOP-friendly by adding enforceable types, type checking, etc. If you use the VSCode extension listed in the sidebar, you can write your scripts in TS to make it easy to work with strong types and enable IntelliSense (so you can read the JSDoc info for each function, including those in NetScript's NS type) and make it easier and safer to work with your code. It's translated and compiled (aka "transpiled") down to JS before being moved over to the game, so in-game nothing is different. Pretty neat stuff! :)
Related posts
-
Supercharge Your Node.js Development with This Starter Configuration
-
Velo by Wix: Type safety your code with JSDoc
-
How to document your JavaScript package
-
Learn how to document JavaScript/TypeScript code using JSDoc & Typedoc
-
TypeScript Might Not Be Your God: Case Study of Migration from TS to JSDoc