Link Details

Link 97035 thumbnail
User 258197 avatar

By rivethead_
via notesfromatooluser.com
Published: Jul 22 2008 / 11:53

“Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away” - Antoine de Saint Exupéry.
  • 20
  • 1
  • 1492
  • 495

Comments

Add your comment
User 184893 avatar

Mark Levison replied ago:

0 votes Vote down Vote up Reply

Rivethead - thanks for the posting.

User 254327 avatar

xcdesz replied ago:

0 votes Vote down Vote up Reply

Good points. Of course we should be writing maintainable code -- but he comes out against the "single exit strategy" principle designed to reduce code complexity, and doesn't provide an arguement against it..

User 184893 avatar

Mark Levison replied ago:

0 votes Vote down Vote up Reply

xcdesz - the Single Exit Strategy appears to have come from Djikstra's goto paper of about 40 yrs ago. I don't think it needs to applied in the same way to modern OO languages. Consider that most of us now accept break and continue statements even though they're just goto statements in disguise. I'll do another blog post on this later.

Cheers
Mark Levison

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.