Home Notes Programming Advent of Code 2022 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
elseif – Lua
elsif – Ruby
elif – Python
Post scriptum Matt Might
did the same and he actually finished the AOC.
Graph navigation with templates
Intervals and sets in R
Ruby has a nice documentation
Haskell recursions, pattern matching and text file parsing
Tables as lists, dictionaries, queue
Monkey business in BEAM
Reading files with
fgets and rendering CRT monitor with sprites
Chasing tails with lists and recursion in Common Lisp
Scouting in the forest with Julia
Stack implemented as a vector, substrings using slices
String processing and stack manipulation with slices and the standard library
Counting overlaps in the infamous write-only Perl
Clumsy string processing in Bash
Conditions and conditions again in Python
Summing and finding maxima with good old Unix tools
last modified: 2023-07-08 https://vit.baisa.cz/notes/code/advent-of-code-2022/