The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
The Downside of Clever

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Britt

Posts: 1319
Nickname: jamesbritt
Registered: Apr, 2003

James Britt is a principal in 30 Second Rule, and runs ruby-doc.org and rubyxml.com
The Downside of Clever Posted: Dec 8, 2007 7:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by James Britt.
Original Post: The Downside of Clever
Feed Title: James Britt: Ruby Development
Feed URL: http://feeds.feedburner.com/JamesBritt-Home
Feed Description: James Britt: Playing with better toys
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by James Britt
Latest Posts From James Britt: Ruby Development

Advertisement

At todays BarCamp, Derek gave a great preso about [Test|Behavior] Driven Development. The talk included comments and observations on how to ensure that your code is not only correct, but maintainable. He mentioned flog, a Ruby tool that analyzes your code, applies some heuristics, and reports on how baroque and troublesome your code may be.

A high flog score typically means that someone has been too clever for anyone’s good, and it brought to mind a quote from Brian Kernighan (which I first heard about from David Koontz):

Everyone knows that debugging is twice as hard as writing a program in the first place. So if you’re as clever as you can be when you write it, how will you ever debug it?

Read: The Downside of Clever

Topic: ruby+objc, Part 1 Previous Topic   Next Topic Topic: “Python and Ruby” Language Futures Talk Slide Deck by Paul Prescod Now Online

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use