Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Pro Programming Tips

Name: Anonymous 2006-11-14 17:59

ITT pro tips to make your code better. For example, instead of something like:
a = b + c;
return a;

you'd use:
return b + c;

etc.

Name: Anonymous 2006-11-14 18:33

Name: Anonymous 2006-11-14 20:24

/prog/ = fail + gay

Name: Anonymous 2006-11-15 2:09

design your code on paper before touching a computer. srsly, the code i've seen...

Name: Anonymous 2006-11-15 2:29

>>4
Fucking seconded.  I wish more people did this.  But NOOOOOOOOOO, they think they're 1337 or something.  Or shit, at least when you're done, go back and do a total rewrite once you know how everything fits together.  By which I don't mean spell check, I mean trash the entire original and rewrite the entire goddamn thing.  Remember elementary English class and the Rough Draft/First Draft/Second Draft/Third Draft/Final Draft?  Same thing.

Name: Anonymous 2006-11-15 3:45

But that takes time. I usually just start from scratch, and keep improving it...

Name: Anonymous 2006-11-15 4:01

>>6
That'll lead to unreadable spaghetti code. Any program of substantial size should be designed before hand in pseudo code.

Name: Anonymous 2006-11-15 4:46

If it was hard to code, it should be hard to read.

Name: Anonymous 2006-11-15 5:50

Spaghetti code!

Reminds me of a final project I did in HS back when they taught QBasic... and I wrote an airline seat reservation program.

12 pages printed out, got an A on it because it works.... even though the comment on the returned printout said that the grader had no idea how it worked :D

Name: Anonymous 2006-11-15 8:25

Spaghetti code!

Reminds me of a final project I did in HS back when they taught QBasic... and I wrote an airline seat reservation program.

12 pages printed out, got an A on it because it works.... even though the comment on the returned printout said that the grader had no idea how it worked :D

Name: Anonymous 2006-11-15 8:25

Spaghetti code!

Reminds me of a final project I did in HS back when they taught QBasic... and I wrote an airline seat reservation program.

12 pages printed out, got an A on it because it works.... even though the comment on the returned printout said that the grader had no idea how it worked :D

Name: Anonymous 2006-11-15 8:25

Spaghetti code!

Reminds me of a final project I did in HS back when they taught QBasic... and I wrote an airline seat reservation program.

12 pages printed out, got an A on it because it works.... even though the comment on the returned printout said that the grader had no idea how it worked :D

Name: Anonymous 2006-11-15 8:25

Spaghetti code!

Reminds me of a final project I did in HS back when they taught QBasic... and I wrote an airline seat reservation program.

12 pages printed out, got an A on it because it works.... even though the comment on the returned printout said that the grader had no idea how it worked :D

Name: Anonymous 2006-11-15 8:25

copy pasta lol

Name: Anonymous 2006-11-15 20:43 (sage)

>>10-14 same person

Don't change these.
Name: Email:
Entire Thread Thread List