DEV Community

Discussion on: What do you code to relax?

Collapse
 
val_baca profile image
Valentin Baca

I've been going through past years of adventofcode.com/

It's not unlike most other code challenge websites (leetcode, etc.) but a few things that I like about it:

  • tool/language agnostic: I've been switching between solving in Go, Python, and Common Lisp. I can use whatever tools, languages, or libraries I want. Similar to project Euler but less focused on "just math".
  • simple input, simple output: I can decide if I want the input hardcoded in source, read in as an argument or read from a file
  • examples given: I solve most problems using real TDD
  • choice of problems: some of the problems are simple, almost cute, purely relaxing. Others teach me entirely new algorithms