tag:blogger.com,1999:blog-3237724005744642470.post2305515094724520558..comments2020-09-27T17:41:07.221+01:00Comments on Captain Debug's Blog: Defining Tell Don't Ask... well almost...Roger Hugheshttp://www.blogger.com/profile/07042290171112551665[email protected]Blogger4125tag:blogger.com,1999:blog-3237724005744642470.post-61844779832358374592012-03-13T07:13:05.071+00:002012-03-13T07:13:05.071+00:00The one thing that bothers me is - why do most pro...The one thing that bothers me is - why do most programmers don&#39;t use this technique in their code ? It&#39;s far more readable and testable. Also, why so much Java libraries is written in the wrong procedural way, instead of clean OO tell don&#39;t ask ?Wojciech SoczyƄskihttps://www.blogger.com/profile/02817894419669090482[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-74650277914748779642012-03-10T22:18:10.462+00:002012-03-10T22:18:10.462+00:00Javadoc fixed - thanksJavadoc fixed - thanksRoger Hugheshttps://www.blogger.com/profile/07042290171112551665[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-65851918340028280182012-03-10T20:15:59.510+00:002012-03-10T20:15:59.510+00:00You may update the javadoc on last ShoppingCartTes...You may update the javadoc on last ShoppingCartTest to reflect the call to calcTotalCost() instead of getAllItems()<br /><br />Nice example of Tell don&#39;t ask btw<br /><br />CheersAnonymous[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-22459447371407770712012-03-08T10:27:24.303+00:002012-03-08T10:27:24.303+00:00Nice post. Just pointing out that we should really...Nice post.<br />Just pointing out that we should really be introduce new methods that does not violate the single responsibility principle.Brunohttps://www.blogger.com/profile/16206221290630279621[email protected]