Hacker News new | ask | show | jobs
by messe 2392 days ago
Self promotion, but as this is my first year doing advent of code I'm solving all of the problems using awk[1], the solutions will be published here[2]

[1]: https://man.openbsd.org/awk

[2]: https://jo.ie/advent-of-awk-2019.html

3 comments

I've used awk for one year of Advent of Code: https://github.com/bewuethr/advent-of-code/tree/master/2016

Some problems feel like they were designed to be solved in awk, like the assembly style ones. Others, not so much... But it was great fun overall and I learned a lot about awk.

With respect to the fact that 99% of my use of awk is done like this:

  > | awk '{print $<word>}'
The solution to the first exercise looks surprisingly clean. It will be interesting to see how they continue as the challenges get harder. Bookmarked!
As someone using a completely mainstream and normal language (well, Rust), I salute you.