6 ms·
Tackling it in TypeScript this year, which is interesting because I haven't used TypeScript before (I'm experienced with JavaScript). This is a good way to real
by boutell 5y ago
Tackling it in TypeScript this year, which is interesting because I haven't used TypeScript before (I'm experienced with JavaScript). This is a good way to really drill it into my fingertips.
If you care to follow along:
https://github.com/boutell/advent-of-code-2021 https://github.com/boutell/advent-of-code-2021
- volfied 5y agoI recommend using a runner like https://github.com/caderek/aocrunner https://github.com/caderek/aocrunner, so you can focus on coding, rather than project set up.
- penjelly 5y agotsc file.ts && node file.js is pretty simple but yeah.. i guess as the scope increases it may require a dist folder or scripts edit: wow nevermind im seeing a sibling comment here is using the browser and it looks like a major headache..
- kryptiskt 5y agoI'm also doing it in Typescript this year, but I'm doing it in the browser to get a little modern web experience (I'm a C++ developer by day). I have a pretty nifty setup with Snowpack that will rebuild it and refresh the browser automatically when I save, and a little scaffolding for making a widget for a problem, I don't use a framework: https://github.com/melted/aoc2021 https://github.com/melted/aoc2021.