tag:blogger.com,1999:blog-7881153019980313926.post8665070155855493245..comments2024-01-18T22:56:31.400-06:00Comments on Random Acts of Coding: My Barriers to Learning TDDAnonymoushttp://www.blogger.com/profile/16129988019183813172noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-7881153019980313926.post-29655638743741824822010-02-03T09:02:24.833-06:002010-02-03T09:02:24.833-06:00Great post
Even though I'm just dipping my fe...Great post<br /><br />Even though I'm just dipping my feet in the TDD pool I've already come across many of the issues that you outline in this post. Ther more I read up on TDD, the more I'm eager to reap the benefits that are claimed by it's proponents.<br /><br />At the company I work at, I'm the sole developer and I'm wondering how this affects things. One obvious thing is that I can't actively discuss or pair-code stuff to better get a hang of thing. I can discuss things online though.<br /><br />The thing I find to be the most frustrating right now is that the examples are too simple and I keep thinking how you apply unit testing to code that mainly deal with graphical stuff such as GUIs and the like. But that might be to "primitive" coding style/conventions on my part...<br /><br />Anyways, good work and if you have further tips to give a fellow developer, please tell :)ActionVillainhttps://www.blogger.com/profile/16087840773026795602noreply@blogger.comtag:blogger.com,1999:blog-7881153019980313926.post-21758882466749677192009-09-07T13:08:11.348-05:002009-09-07T13:08:11.348-05:00Thanks for the article. A thorough understanding o...Thanks for the article. A thorough understanding of SOLID principles will really help in the TDD world.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7881153019980313926.post-82283044982950420872009-09-05T01:47:15.594-05:002009-09-05T01:47:15.594-05:00This is an excellent article showing your journey ...This is an excellent article showing your journey so far into the world of TDD. I agree with everything you have written. Well done and welcome to TDD and the benefits it brings.Chris Johnstonhttps://www.blogger.com/profile/09272417229789198018noreply@blogger.comtag:blogger.com,1999:blog-7881153019980313926.post-64857878508018908072009-09-03T09:14:28.312-05:002009-09-03T09:14:28.312-05:00Great post, thanks for sharing your insights! I p...Great post, thanks for sharing your insights! I <i>particularly</i> like what you said about <br /><br />"writing unit tests AFTER the code has already been written DOES lead to more code being written... However, I have see that writing your unit tests BEFORE you write any code (as advocated in TDD), you tend to code at the same speed if not a little faster."<br /><br />That's a really interesting observation and I bet you're right!<br /><br />I would love to hear some examples of how TDD is helping you to better follow the SOLID principles. I can see that some like Single Responsibility Principle would come naturally but am curious about if the rest also do or if you've found some way to make these occur more naturally. <br /><br />You may be on to something that could help the rest of us write cleaner code!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7881153019980313926.post-13015246012355899292009-09-02T22:39:59.063-05:002009-09-02T22:39:59.063-05:00Very nice.
The external library thing bites me pr...Very nice.<br /><br />The external library thing bites me pretty hard since most of the work I've been doing lately has involved extremely thin layers on top of web and file access (html screen scraping, file based backup scripts and such.)<br /><br />The one thing I wasn't sure if I was going to see here is a problem that I still have daily.<br /><br />When I start a new project, I have an awful lot of trouble keeping my TDD on track. I end up developing what amounts to library code for whatever it is I'm working on, without any driver or front end.<br /><br />I suspect it comes from using TDD in isolation from other agile/xp practices. (A discipline cost of having a team of one perhaps.)Mad William Flinthttps://www.blogger.com/profile/09376654005417336094noreply@blogger.com