View Single Post
  #30   Spotlight this post!  
Unread 09-08-2010, 21:30
LukeS LukeS is offline
4272 mentor, 1024 alumnus
AKA: Luke Shumaker
FRC #4272
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Indianapolis, IN
Posts: 60
LukeS is an unknown quantity at this point
Re: New Programming Manual

Quote:
Originally Posted by spartango View Post
FYI--
Code:
if (condition) {
    ...
} else {
    ...
}
is actually the prescribed formatting style laid out in the official conventions
Indeed. However, there are a few items in that document that I strongly disagree with (mainly indentation, and secondly, commenting).

Quote:
Originally Posted by spartango View Post
Also,
I'm not sure I would point students in the direction of the WPILib src, just because its more of a port of a C++ library than a really well done java framework, and so isnt exactly a model for development.
Even so, it is something that they will be interacting with regularly. At some point, to properly understand something you must ditch the documentation, and just look at what the code is doing.
Reply With Quote