
But maybe it’s just that I’m a bad bash coder 🦫
🔔 This profile hasn't been claimed yet. If this is your Nostr profile, you can claim it.
EditBut maybe it’s just that I’m a bad bash coder 🦫
Not fun, I agree. But even in small scripts is hard to debug! I had a file with less than 250 loc and 21 🧡 functions and was having some trouble already
Hahaha but the things that make me hate bash are still present in zsh…
#beavercoding
Debugging in Bash 101: don’t use echo or printf directly… unless you want to break your returns 🙃
Yes we do 😎
BIG plans 😂
Oh my log! 🪵 I ended up creating a very dumb method to make sure that I'm wasn't messing up things debug_log() { printf "[DEBUG] %s\n" "$*" >&2 }
So true! Here it’s just fun to create content for the sake of creating it!
Vibe coding is old, beaver coding is the new trend! 🦫