oooOO how does TypeScript work?
Having lots of fun with the Nature of Code 2 Playlist. I’ve been binging the regular videos and dwelling on the Coding Challenge recommendations. From the 7th to the 14th I’ve gotten through:
- wrapping up the quadtree for now.
- Moving to TypeScript
- Making recordable Perlin noise loops
- Trying out OpenSimplex noise which led me to investigate recompiling a node.js TypeScript library for web use.
See it all at the January 2023 Repo or the GHPages site
TypeScript may seem like over kill, but troubleshooting the loosey goosey JavaScript with only console.log
in your tool set SUCKS. Now that I have the TypeScript/VSCode setup working they catch a lot of the hard to suss out errors before I even make it to the browser to look at the progress. My strongly-typed-complied-soul feels a lot more comfortable.
META
- What happens when I put script tags in here??? THEY WORK!!