slikts sapnis - December 18th, 2008 [entries|archive|friends|userinfo]
slikts

[ website | untu.ms ]
[ userinfo | sc userinfo ]
[ archive | journal archive ]

December 18th, 2008

The 10 commandments of coding conventions [Dec. 18th, 2008|02:32 am]
  1. Thou shalt not place the Left Curly Brace on a line of its own; this shows disrespect to thy Fathers and thy Mothers who only had 80 columns and 24 lines in days of old.
  2. Thou shalt not use the GoTo, for such disrespects the Prophet of Programming Dijkstra.
  3. Thou shalt comment thy code, and provide great detail about the workings of thy mind when thou does first write thy method. And thou shalt revisit and revise thy comments only in the earliest hours of the morning prior to thy code review.
  4. Honor thy Sun and thy Java that your days may be long upon the Virtual Machine where thy code livith.
  5. Thou shalt Compile before checking in.
  6. Thou shalt Run thy code at least once before shipping.
  7. Thou shalt Test at least one Browser against thy Server's code, and thy backup Server's code, and thy Neighbor's Server's code.
  8. Thou shalt not covet thy neighbor's operating system unless thy neighbor runs Linux; If ye cast your eye upon thy neighbor's Windows Server, and covet it in thy heart, thy staff shall take thee into thy parking lot and stone thee with mice until the demon of stupidity leaveth thee.
  9. Thou shalt not make libraries of other gods such as C# or Perl. These are an abomination before thy God.
  10. Once thou hast compiled thy code, generated thy Java Doc, Reviewed thy code with the elders of thy people, Deployed thy code upon thy server, and tested thy code upon the Browser of thy God (Firefox 3.0), and thy customer doth stumble upon thy bug, thou shalt blame thy customer with thy mouth, and curse his existence, for thou hath commented, placed thy braces properly, indented with four spaces (and not eight as do the godless), hath capped thy constants, hath lowercased thy methods, and hath passed all thy JUnit tests… It is the truth of God that if yee hath done all these things, thy customer must be at fault.
Link5 krepši|dot krepsi

navigation
[ viewing | December 18th, 2008 ]
[ go | Previous Day|Next Day ]