Great article! It's nice to know I'm not the only one who perceives code as an art.
There's one thing however, that I cannot find a parallel in music- testing. Just as you said, it's important to concentrate on small bits when dealing with something complex. And unit testing makes you do exactly that.
Above all, testing gives you confidence in your code and therefore the ability to change it as many times as you want. And with it you almost always have a second chance on anything you got wrong.
Thank you! I suppose testing could be related to the 1-1 learning from a private teacher experience, if anything. Since unit testing does provide a nice 1:1 map on if something is right/wrong, I've only truly only ever experienced a similar in a voice lesson or coaching session where I'm stopped/started quite often if a vowel is wrong or my breath is incorrect. My best teacher, Carol Kirkpatrick, stopped me so often I hardly got out more than a measure in a lesson, but wow, I learned! The best unit tests are the same; they are incredibly explicit and will absolutely call for you to fix what's wrong before you move on with your code. Less "bugs" all around!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article! It's nice to know I'm not the only one who perceives code as an art.
There's one thing however, that I cannot find a parallel in music- testing. Just as you said, it's important to concentrate on small bits when dealing with something complex. And unit testing makes you do exactly that.
Above all, testing gives you confidence in your code and therefore the ability to change it as many times as you want. And with it you almost always have a second chance on anything you got wrong.
Cheers and good luck in your journey!
Thank you! I suppose testing could be related to the 1-1 learning from a private teacher experience, if anything. Since unit testing does provide a nice 1:1 map on if something is right/wrong, I've only truly only ever experienced a similar in a voice lesson or coaching session where I'm stopped/started quite often if a vowel is wrong or my breath is incorrect. My best teacher, Carol Kirkpatrick, stopped me so often I hardly got out more than a measure in a lesson, but wow, I learned! The best unit tests are the same; they are incredibly explicit and will absolutely call for you to fix what's wrong before you move on with your code. Less "bugs" all around!