Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "adventofcode"
-
today i said i had holiday until the new year and wouldn't open a code editor until then
and here i am 5 hours later looking at advent of code challenges, trying to do them in rust
🤓🤡🤓🤡🤓🤡🤓🤡🤓🤡🤓🤡🤓🤡
also screw them for discouraging AI. if a tool can help me learn a new language faster i'm using it3 -
Those coding competitions like adventofcode.com tho, where people actually solve the tasks in a minute or two, whereas I just finished reading the little story behind them.
I want to see their solutions!1 -
Advent of code is awesome. If anybody isn’t doing it YOU SHOULD. Solving a different coding problem every day for 25 days. adventofcode.com3
-
anyone else having Adventofcode problems? day1 told me the obviously right answer was wrong. after a full day of debugging two obvious lines of code, it finally decided to accept the first answer.
and day two seems to be doing the same. guess I'll just be a day behind then?
anyone else?3 -
Writing PHP code for advent of code (https://adventofcode.com):
I'll use camel case for that function and snake case for the second one and why not just use all lowercase (what is that called anyway?) for the third function. Variables: $input, $inputs, $a, $count2, $xord, $yord. Why do I have no consistent naming scheme?!?! -
My Advent of Code solution is calculating and calculating, which means I clearly did it wrong. But I already spent 4 hours trying to code it in Clojure (OMG, why can't tail call optimization just work there?!?!)
-
AoC 8b teaches the importance of looking at your data to simplify your solution by simply not supporting inputs that are difficult and don't appear in your sample.
Man, fuck is this noise.
In other news, I caught up to AoC.1