SMRTR ProgrammingDec 6, 2024Lobsters

Advent of Criminally Bad Ruby Code

SMRTR summary

Ruby programmers Marco Roth and Jared Norman experimented with unconventional coding during an Advent of Code challenge. They overrode operators, used refinements to modify classes locally, and created unusual aliases for Array methods. Their goal was to write creative, artistic code rather than practical solutions. The resulting code included operator overloads like using > for map and % for custom array operations. This exercise explored Ruby's flexibility and pushed the boundaries of readable code.

SMRTR provides this summary for quick context. The original article belongs to Lobsters.

Read the original article
SMRTR Programming

Get the next batch of curated stories in your inbox.

This archive is built from SMRTR newsletter stories. Subscribe for hand-picked stories without the extra noise.

Related Stories

Browse Programming
ProgrammingAug 23, 2026

Rust Glancer

Rust-analyzer's memory bloat stems from treating all 6,666 dependencies equally — a tiered, IntelliJ-style backend could fix that.