Aleksandar Popovic

Recipes

algorithmically: learning by rebuilding ideas in Ruby

A Ruby collection of programming recipes inspired by natural systems, algorithms, and the habit of understanding by implementation.

Ruby, algorithms View library

There is a particular kind of learning that only happens when an idea becomes code. Reading an algorithm gives you vocabulary. Implementing it gives you friction, and friction is where the real understanding tends to appear.

algorithmically is a place for that kind of exploration in Ruby. The project collects recipes that are inspired by natural systems and algorithmic thinking, with Ruby as the language for turning concepts into runnable pieces.

Ruby is a good fit for this style of work because it lets the idea stay visible. You can write code that reads close to the problem, inspect the shape of the solution, and iterate without a lot of scaffolding. For algorithmic experiments, that matters: the less ceremony around the experiment, the easier it is to notice the behavior.

The point is not to make a definitive encyclopedia of algorithms. The point is to create small, inspectable versions of ideas. Each recipe becomes a way to ask: what are the inputs, what changes over time, what tradeoff is hidden under the simple explanation?

Use it when:

  • You want examples that are compact enough to study.
  • You learn best by rebuilding instead of only reading.
  • Ruby is the fastest path from concept to experiment.
  • An algorithm feels abstract until it has state, names, and tests.

This kind of repository is useful because it keeps curiosity executable. The code is the notebook.