Luny
Back

Advent of Code

A set of solutions for Advent of Code puzzles in a myriad of different programming languages with different paradigms in order to improve myself and train myself on more options.

Published on
Updated on

2.18

apl
c
clojure
cpp
elixir
go
haskell
java
javascript
kotlin
lua
objc
perl
python
ruby
rust
scala
swift
typescript
uiua

Description

Advent of Code is an annual event where users are given a series of programming challenges to solve, all courtesy of Eric Wastl. I just want to use multiple languages and have fun solving it. My goal for all years is 30/50 stars.

By the way, the difficulty is how I feel. It’s not a real metric. I’m just a beginner programmer (at the time of writing, I started around 2023). How I consider it:

For an overview of what challenges I have completed, you can view the repository README yourself. This document only aims to provide interesting insights into a few programming languages I wrote.

The Differences in Paradigms

We all know and love Object-Oriented Programming (OOP for short), but there are a lot more paradigms, and knowing how to at least apply them for basic algorithmic problems probably would help.

Since I learned a few paradigms, sometimes I try to apply those ways of thinking into problems in OOP languages, and some of them do support those kinds of solutions, for example like Java Streams API! Modern languages now do implement a lot of features, borrowing from other paradigms!

You can imagine paradigms like an iceberg:

You can view how a problem can be solved in four different paradigms here.