miniblog.

← Back to all posts
12
I've encountered it a few times. Learning bash had all sorts of pitfalls. Writing `X = 1` rather than `X=1`. Default values with `${foo:-bar}`. Ignoring errors with `|| :` or catching them with `set -e` and pipefail. Bash is so ubiquitous that this knowledge has been valuable.

2 Comments

jq also fits in this category for me. I encounter large JSON blobs regularly. jq has its own unique syntax to learn, and a notion of a stream of JSON values. Every time I learn a little more, I find it easier to slice and understand JSON data!
My most memorable example is CSS. Specificity, box model, browser differences, and a unique set of debugging tools. A lot of dev experience isn't relevant. It's hard. As a backend dev it was very tempting to ignore CSS. It's proved to be very handy since: the web is everywhere.