this post was submitted on 02 Dec 2024
27 points (100.0% liked)

Advent Of Code

885 readers
133 users here now

An unofficial home for the advent of code community on programming.dev!

Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

AoC 2024

Solution Threads

M T W T F S S
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 18 20 21 22
23 24 25

Rules/Guidelines

Relevant Communities

Relevant Links

Credits

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

console.log('Hello World')

founded 1 year ago
MODERATORS
 

It's not my first choice, but it's gonna be TypeScript for me. I've got an interview for a primarily TS position coming up this week so would like to brush up on its quirks.

If the interview doesn't go well, then I'll probably switch to Go, though hehe. I've been really enjoying using it, but no one's ever paid me to do so.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 15 hours ago

TS is a great way to write JS, and one of the nice things about it is you get to choose exactly how much of it you want to use.

You can even just change your file extension from js to ts, compile it with tsc file.ts or run it directly with tsc-node file.ts.