Unable to load image
Reported by:

rDrama Advent of Code Day *TWO*: High Turnout Edition

https://i.rdrama.net/images/17014924977518919.webp

Summary for those just joining us:

Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!

Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app

What did you think about today's problem?

https://adventofcode.com/2023

Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)

50
Jump in the discussion.

No email address required.

good morning I hate parsing problems

N←≢r←5↓¨⊃⎕NGET'i2.txt'1 ⋄ s←~⍤∊⍨⊆⊢
m←{a←','∘s¨';'s 2⊃':'s ⍵ ⋄ b←∊¨¯1∘↑¨¨a ⋄ c←3↑¨⍎¨¨∊¨¨(∊∘⎕D⊆⊢)¨¨a ⋄ {⌈/(b⍳¨⍵)⌷¨c}¨'dne'}¨r
⎕←+/(⍳N)/⍨∧/¨12 13 14∘≥¨m ⋄ ⎕←+/×/¨m
Jump in the discussion.

No email address required.

I'd probably get fired if I started coding in wingdings at work :marseydisagree:

Jump in the discussion.

No email address required.

I think something went wrong when you pasted the code.

:#marseysweating:

Do you find golf languages like these are easier in some ways or is every problem always more of a challenge?

Jump in the discussion.

No email address required.

APL is unironically a great language. It was created as handwritten maths notation, it's not one of the meme langs designed around using as few characters as possible. Only part that sucks is parsing the input.

Jump in the discussion.

No email address required.

I'd rather KMS than use APL

Jump in the discussion.

No email address required.

>it's not one of the meme langs designed around using as few characters as possible

BIPOC that's what maths notation is

Jump in the discussion.

No email address required.

I mean shit like 05AB1E, where programs look like:

|»©ÐÙSDŠ¢øΣθ}R€н¬®sÅ?iD2£RDŠKsì}J©žLR‡®gö₅B®s"•ÿ•“ÿ“ÅвJ"

APL is a practical/"real" language, it wasn't designed to metagame golf at the expense of readability.

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.