View Single Post
Re: What are the best practices?
Old
  (#12)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: What are the best practices? - 03-07-2008

Granted, each language has its public and should not be forced to be used in a way it is not designed.

However, Java, and C++ for instance are very alike and can be treated the same. But, on the other hand you should very well know the differences.

As for comments, i love javadoc, really.

Code:
/**
* This is a comment that will show up in a HTML generated file, and with Eclipse it automaticly pops up when i hover my mouse over the function/method
**/
void someFunction() {
 // do something
}


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote