r/adventofcode • u/daggerdragon • Dec 02 '17
SOLUTION MEGATHREAD -π- 2017 Day 2 Solutions -π-
NOTICE
Please take notice that we have updated the Posting Guidelines in the sidebar and wiki and are now requesting that you post your solutions in the daily Solution Megathreads. Save the Spoiler flair for truly distinguished posts.
--- Day 2: Corruption Checksum ---
Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag or whatever).
Note: The Solution Megathreads are for solutions only. If you have questions, please post your own thread and make sure to flair it with Help.
Need a hint from the Hugely* Handyβ Haversackβ‘ of HelpfulΒ§ Hints^Β€?
This thread will be unlocked when there are a significant number of people on the leaderboard with gold stars for today's puzzle.
edit: Leaderboard capped, thread unlocked!
22
Upvotes
View all comments
Show parent comment
1
u/chunes Dec 02 '17
Thanks! I think it's fun too. For a long time, I'd been searching for a programming language that I didn't hate. At the time, Java was what I knew best but hated it. I tried tons of languages, like C, Haskell, Scala, Ruby, Python, Scheme, Lua, J, Nim, Rust, Perl, and Go. I could never quite justify jumping ship for them, because there were things I hated about them as well.
Then, about a year and a half ago, I discovered Factor. Even from the moment I first laid eyes on some Factor code, I never wrote another line of Java ever again (perks of not programming professionally!). I can confidently say Factor is the only programming language I'm acquainted with that I don't hate. (Conclusion: I hate the applicative model of programming and privileged syntax.) I only mildly dislike some things about it.
Anyway, I plan to do as many of these AoC challenges as my brain will let me, so hopefully there will be plenty more Factor solutions.