this post was submitted on 07 Dec 2024
46 points (97.9% liked)

Advent Of Code

920 readers
63 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
 

I don't remember exactly what this difference caused but I do remember it being very annoying to debug.

Edit: the language used is Uiua

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 21 points 1 week ago (2 children)

looks slightly better than the code I have at work

[–] perviouslyiner 20 points 1 week ago (1 children)

This looks like something you'd engrave on the side of a space probe

[–] [email protected] 10 points 1 week ago

or at the entrance to an ancient Egyptian tomb.

[–] [email protected] 5 points 1 week ago

Glad to hear that my attempts at de-spaghettifying worked to some degree at least :D

[–] [email protected] 13 points 1 week ago

I imagine the code that runs Klingon navigation systems probably looks like this

[–] [email protected] 6 points 1 week ago (1 children)

This looks like scrambled emoticons

[–] [email protected] 3 points 1 week ago

You can actually use (singular) emojis as variable names. According to the documentation, they won't be be used as glyphs so you don't even have to worry about breaking changes of that kind :D

[–] thenextguy 4 points 1 week ago (1 children)
[–] [email protected] 3 points 1 week ago

Uiua, forgot to put that in the post