Advent of Code 2022
In 2022 I was participating in
Advent of Code for the first time.
AOC is usually used as an opportunity to try and learn a new language.
I decided to try 25 languages instead—a new one every day.
I went through the list of favourite programming languages
reported in StackOverflow survey
from 2022 for inspiration.
Try: Clojure Scala Java Assembly Elixir OCaml TypeScript Swift Fortran COBOL Dart
Better not try: PHP Kotlin VBA F# C# SAS APL Crystal MATLAB Groovy Delphi Solidity Objective-C HTML/CSS PowerShell SQL
Else if madness
else if
– JavaScriptelseif
– Luaelsif
– Rubyelif
– Python
Post scriptum
Matt Might
did the same and he actually finished the AOC.
Graph navigation with templates
2022-12-16
Intervals and sets in R
2022-12-15
Ruby has a nice documentation
2022-12-14
Haskell recursions, pattern matching and text file parsing
2022-12-13
Tables as lists, dictionaries, queue
2022-12-12
Monkey business in BEAM
2022-12-11
Reading files with fgets
and rendering CRT monitor with sprites
2022-12-10
Chasing tails with lists and recursion in Common Lisp
2022-12-09
Scouting in the forest with Julia
2022-12-08
Stack implemented as a vector, substrings using slices
2022-12-07
Queues and counters implemented with JavaScript objects
2022-12-06
String processing and stack manipulation with slices and the standard library
2022-12-05
Counting overlaps in the infamous write-only Perl
2022-12-04
Clumsy string processing in Bash
2022-12-03
Conditions and conditions again in Python
2022-12-02
Summing and finding maxima with good old Unix tools
2022-12-01