[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Code style and other issues

timfox do-not-reply at jboss.com
Wed Jun 18 13:53:34 EDT 2008


I'm still seeing code like:


  | if (foo) {
  |    doSomething();
  | }
  | 

Please don't use K & R style, that's not our project style. Don't do it!

I must have said this many times now, I'm not sure why it's not sinking in.

Also don't do this:

  | 
  | if (x)
  |    doSomething();
  | 

Also please don't paste public methods into the private areas of files. Respect the different areas of files.

Next time I see code like the above I'm just going to delete it :)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159061#4159061

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159061



More information about the jboss-dev-forums mailing list