okay, behaviour driven development is nice, but it's not a replacement for comment driven coding. what i'm talking about is driving the code by beginning with comments,
// register user
// validate details
// check existing username
// create user
// send activation email
// return success / failure
then writing the code that actually does it, keeping the comments. this way, you've already planned before you code without doing anything messy, and you have a contract that you can verify with your eyes, which is the biggest problem that coders have. yes, BDD is a good idea as well, but it doesn't make comments any less important. especially because BDD doesn't say why x.should.be.y
[wikipedia] and [anorgan's blog]
a story about a man making his dreams come true... but with all the interesting bits left out.
News
My campaign to produce Shakespeare's Sonnets: A Graphic Novel Adaptation needs your help! Please sign up at https://www.patreon.com/fisherking for access to exclusive content and the opportunity to be a part of the magic!
I'm also producing a podcast discussing the sonnets, available on
industrial curiosity, itunes, spotify, stitcher, tunein and youtube!
For those who prefer reading to listening, the first 25 sonnets have been compiled into a book that is available now on Amazon and the Google Play store.
I'm also producing a podcast discussing the sonnets, available on
industrial curiosity, itunes, spotify, stitcher, tunein and youtube!
For those who prefer reading to listening, the first 25 sonnets have been compiled into a book that is available now on Amazon and the Google Play store.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.