tag:blogger.com,1999:blog-9944221.post6454607881800827147..comments2023-11-03T06:15:55.087-05:00Comments on Meme Agora: Finally TreewareNeal Fordhttp://www.blogger.com/profile/12839796402858974817noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-9944221.post-56531868444812493652009-04-24T06:48:00.000-05:002009-04-24T06:48:00.000-05:00I think the technique is fine, but it's going ...I think the technique is fine, but it's going to turn into a bit of a visual mess pretty quickly I think. However, I like the way it overlays the actual code with the edges & nodes.<br /><br />If you are ever curious about your accuracy, run JavaNCSS on it. It does an excellent job of calculating CC.Neal Fordhttps://www.blogger.com/profile/12839796402858974817noreply@blogger.comtag:blogger.com,1999:blog-9944221.post-8593668540089834662009-04-23T16:18:00.000-05:002009-04-23T16:18:00.000-05:00Hi Neal,
in chapter 6 you show how to compute the...Hi Neal,<br /><br />in chapter 6 you show how to compute the cyclomatic complexity (CC) of a method by drawing a flow-chart for the method, counting E (the number of edges) and N (the number of nodes), and then computing CC = E - N + 2.<br /><br />I have tried to count the nodes and edges of a method by drawing them directly on the method. I have tried this for some examples and it seems to work. I then used it <A HREF="http://theknowledge.me.uk/mywiki/blog-entries/cyclomatic-complexity/cyclomatic-complexity.GIF" REL="nofollow">here</A> (nodes in red, edges in blue) to compute the CC (11 - 9 + 2 = 4) of the method discussed in this <A HREF="http://codebetter.com/blogs/kyle.baley/archive/2009/03/12/quick-cyclomatic-complexity-question.aspx" REL="nofollow">post</A>. <br /><br />What do you think? Is what I am doing consistent with the technique you describe in the book?Philip Schwarzhttps://www.blogger.com/profile/02202819885723986161noreply@blogger.comtag:blogger.com,1999:blog-9944221.post-23344089141336992802008-10-16T16:52:00.000-05:002008-10-16T16:52:00.000-05:00Regarding the single level of abstraction principl...Regarding the single level of abstraction principle (SLAP), I'm having trouble translating this to functional code, namely erlang. <BR/><BR/>For me SLAP has proven itself through the years, so I haven't questioned it for a long time. Enter the world of functional programming, and a finely tuned OO nose must be recalibrated for new smells.<BR/><BR/>It seems since a functional language doesn't have all those "places to put stuff" (as you like to say Neil) -- not even instance variables -- breaking up a large function with many local variables results in many small functions with long arg lists. This can perhaps be more difficult to read than the one long function. <BR/><BR/>So, is SLAP an OO thing only? If not, how does it really translate into the kingdom of verbs?Chris Bernardhttps://www.blogger.com/profile/12713902141591373861noreply@blogger.comtag:blogger.com,1999:blog-9944221.post-83814158820390302802008-07-27T23:34:00.000-05:002008-07-27T23:34:00.000-05:00Thanks for the book Neal. It made my last two days...Thanks for the book Neal. It made my last two days more productive (reading it). I also ordered two as you suggested (forgot about the amazon pre-order). Also posted an review at amazon. I hope the productiveprogrammer.com wiki will be an success in getting the people there. But I think first you have to get them passionate before their attention will focus on being productive.<BR/><BR/>What about errata and other feedback to the book? Into the wiki or somewhere else?<BR/><BR/><A HREF="http://creating.passionate-developers.org" REL="nofollow">Michael</A>Unknownhttps://www.blogger.com/profile/01655903344516494861noreply@blogger.comtag:blogger.com,1999:blog-9944221.post-41195756109641868082008-07-22T13:57:00.000-05:002008-07-22T13:57:00.000-05:00Congrats man. It's so good to see this finally in...Congrats man. It's so good to see this finally in dead-tree form. <BR/><BR/>Candy's pics throughout is an awesome touch.<BR/><BR/>-JoeUnknownhttps://www.blogger.com/profile/15964980338167865394noreply@blogger.comtag:blogger.com,1999:blog-9944221.post-91760311452799660342008-07-17T07:30:00.000-05:002008-07-17T07:30:00.000-05:00If you buy two from O'Reilly you get a third free....If you buy two from O'Reilly you get a third free.<BR/><BR/>http://oreilly.com/catalog/9780596519780/Unknownhttps://www.blogger.com/profile/11147316024418918352noreply@blogger.comtag:blogger.com,1999:blog-9944221.post-48854378534116127842008-07-16T18:22:00.000-05:002008-07-16T18:22:00.000-05:00Congratulations, Neal!! I think another trip to P...Congratulations, Neal!! I think another trip to Paddy's is in order. ;-)Jason Rudolphhttps://www.blogger.com/profile/17651409904762470492noreply@blogger.comtag:blogger.com,1999:blog-9944221.post-78146253966322017052008-07-16T15:53:00.000-05:002008-07-16T15:53:00.000-05:00I've already ordered my copy. Looking forward to h...I've already ordered my copy. Looking forward to having a read.Anonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.com