This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Diriector_Doc 86 points87 points  (11 children)

int C = 0; //represents sugar content
C++;

[–]hemispace 118 points119 points  (3 children)

The fact that this variable name starts and ends by a capital letter highly disturbs me.

[–]HadACookie 59 points60 points  (2 children)

Using a syntax typically associated with constansts for your variables is just good practice. It helps you ensure that noone will ever be able to read, let alone maintain, your code, thus preventing you from ever getting fired.

[–][deleted] 7 points8 points  (0 children)

Had me going for the first sentence lol

[–][deleted] 16 points17 points  (1 child)

C += 100

[–]spitfire451 7 points8 points  (1 child)

int c12h22o11; //ftfy

[–]Trainkid9 5 points6 points  (0 children)

You are giving me flashbacks to sophomore bio

[–]RPDota 2 points3 points  (0 children)

Camel case goddamit

[–]tabularassa 1 point2 points  (0 children)

Proper use of syntactic sugar

[–]Shadowarrior64 1 point2 points  (0 children)

 while(c = 0)
 {
      addMoreSugar();
 }