Do I need to add more, be more specific?
What about JavaDoc, do I need any?
THanks!
| Wii U Sales Rank Jumps 875% Following Microsoft’s Xbox One Reveal in Nintendo Console |
|
|
| Joe Cornish In The Running To Helm 'Star Trek 3'? in The Media Room |
|
|
| X-Men: Days of Future Past in The Media Room |
|
|
| The Killing (Season 3) in The Media Room |
|
|
| Neowin Fonts look Meh on Linux in Site & Forum Issues |
|
Posted 08 May 2012 - 17:04
Posted 08 May 2012 - 17:19
Posted 09 May 2012 - 03:24
Posted 17 May 2012 - 12:08
Posted 18 May 2012 - 03:40
firey, on 17 May 2012 - 12:08, said:
//Okay, first we need to build our query string q = "SELECT..........";
string query = "SELECT..........";
Posted 18 May 2012 - 04:00
vhane, on 18 May 2012 - 03:40, said:
//Okay, first we need to build our query string q = "SELECT..........";
string query = "SELECT..........";
Posted 18 May 2012 - 04:30
firey, on 18 May 2012 - 04:00, said:
Posted 02 June 2012 - 21:19
/**
* Brief description of what the method does. Followed by a
* short description of why it does something, or how it does it
* (if it's a weird way/important/nice to know).
*
* @param x Description of variable x
* @param y Description of variable y
* @return What the method returns
* @throws IOException Reason for throwing an IOException
*/
public float calculateAreaOfCube(int x, int y) throws IOException
{
return (x*y);
}
Posted 04 June 2012 - 14:20
firey, on 17 May 2012 - 12:08, said:
//Okay, first we need to build our query string q = "SELECT..........";Like another person said you could just name the variable query and remove the comment.
//Now, we need the result to give us the items string result = clsMain.Database.dbQuery(q);
//Now split it up to get all the parts
string[] split = result.Split(';');
//And finally loop through the results foreach (string s in split) if (s != null) blah; else break;The comment isn't very useful. The foreach is a loop so we know we're looping. The variable names leave a lot to be desired so it's hard to guess what this is trying to do.
Posted 04 June 2012 - 14:43
sbauer, on 04 June 2012 - 14:20, said:
//Okay, first we need to build our query string q = "SELECT..........";Like another person said you could just name the variable query and remove the comment.
//Now, we need the result to give us the items string result = clsMain.Database.dbQuery(q);
//Now split it up to get all the parts
string[] split = result.Split(';');
//And finally loop through the results foreach (string s in split) if (s != null) blah; else break;The comment isn't very useful. The foreach is a loop so we know we're looping. The variable names leave a lot to be desired so it's hard to guess what this is trying to do.
Posted 04 June 2012 - 14:58
firey, on 04 June 2012 - 14:43, said:
Quote
Quote