The Artima Developer Community
Sponsored Link

Java Buzz Forum
Object calisthenics: Change the way you code

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
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
Object calisthenics: Change the way you code Posted: Dec 18, 2013 4:29 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: Object calisthenics: Change the way you code
Feed Title: JavaWorld
Feed URL: http://www.javaworld.com/index.rss
Feed Description: JavaWorld.com: Fueling Innovation
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From JavaWorld

Advertisement

If you want to sharpen your programming skills and train your brain to come up with new solutions, there's a workout program for that. Originally proposed by Jeff Bay in the ThoughtWorks Anthology (which is unfortunately out of print) object calisthenics lays out the rules of the game, and then lets you have at it with the programming problem of your choice. The rules are:

  1. Use only one level of indentation per method.
  2. Don’t use the else keyword.
  3. Wrap all primitives and strings.
  4. Use only one dot per line.
  5. Don’t abbreviate.
  6. Keep all entities small.
  7. Don’use any classes with more than two instance variables.
  8. Use first-class collections.
  9. Don’t use any getters/setters/properties.

Read more – and see object calisthenics in action – on Schneide Blog ...

Read: Object calisthenics: Change the way you code

Topic: GitHub’s 10,000 most Popular Java Projects – Here are The Top Libraries They Use Previous Topic   Next Topic Topic: Applying ForkJoin – from optimal to fast

Sponsored Links



Google
  Web Artima.com   

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