Войти
  • 802Просмотров
  • 4 года назадОпубликованоThe Mouseless Dev

Learning Bash Best Practices - 03 // The problems with bash functions, parsing a CSV, unit testing

We prepare our script in this video to write unit tests in the next one. We'll see what errors I've made, what I call "premature refactoring", and how to parse a CSV line by line. Starting script: Ending script: I'm using Vim with shellcheck for static analysis. For snippets, ultisnips is my friend. 📙 Building Your Mouseless Development Environment: 📑 Learning to Play Vim: 💎 Increase your value as a developer: 🐙 Github: 🍒 Support the channel: Sorry for the mistakes: 1. It's actually the third videos, not the fourth one 2. I forgot my face at the end so not all the commands and their output are visible at the end. It shouldn't be a problem to understand what I was doing though.