Programming in a nutshell. This feels familiar. I have no idea why..... I remember doing a program for my final project and it wouldn't work, and I couldn't figure out why, I spent 2 days going over each line in a 1600 line code, to programming
x

Comments(414):

[ 414 comments ]
What do you think? Give us your opinion. Anonymous comments allowed.
#110 - baconrainbow (09/26/2012) [-]
I remember doing a program for my final project and it wouldn't work, and I couldn't ******* figure out why, I spent 2 days going over each line in a 1600 line code, to find out that I had accidently put a comma instead of a period.

Worst part is that debug tool didn't catch it for some reason, because the program would still run but it messed up a numerical calculation.
#293 to #110 - anon (09/26/2012) [-]
An easy way to easily zero in on problems like this is to cut your program into large pieces while simulating an input and registering the output.

This means that if one of your independent code parts goes from line 800-1200 (assuming you do things right and make as many independent functions as you can) you can easily see that the problem is inside this block of code.
User avatar #429 to #110 - eldorito (09/26/2012) [-]
Surely, you did top-down testing, right?
User avatar #151 to #110 - primerpower (09/26/2012) [-]
that was my entire semester in my class out of a total of 20-30 programs...i got about 3 or 4 to work

feelsbadman.jpg
User avatar #200 to #110 - joesforn (09/26/2012) [-]
I was working on this game once in lua, a line of code was in the wrong spot. Took me 3 months to figure it out.
User avatar #261 to #192 - captainrattrap ONLINE (09/26/2012) [-]
I love these alot.

LeLoveThisAlotFace.Picture
#339 to #261 - xpeh (09/26/2012) [-]
I know, bro. It's like the epitome of faggotry.
User avatar #38 - biggrand (09/25/2012) [-]
**biggrand rolls 05**

{
roll;2
Ifdubs;(true)
_post in;(bread)
else
spiderman;thread
}
#73 to #66 - jrondeau **User deleted account** (09/25/2012) [-]
+14
#138 to #113 - thesilverpanther **User deleted account** has deleted their comment [-]
#108 to #38 - lightninghedgehog (09/26/2012) [-]
<--MFW i have absolutely no programming skill.
#40 to #38 - thenewgizmobox (09/25/2012) [-]
than i guess it's settled.
User avatar #121 - LegititmateKyle (09/26/2012) [-]
You know what really grinds my gears. Compiling with no errors, or warnings, and then nothing changes.
User avatar #430 to #121 - eldorito (09/26/2012) [-]
******* EXCEPTIONS!
#295 - pimpstaa (09/26/2012) [-]
Post about coding, suddenly everyone is a professional.
#178 - Elderly Man (09/26/2012) [-]
This is all the programming I need
This is all the programming I need
#196 - thekingofangmar (09/26/2012) [-]
**thekingofangmar rolled a random image posted in comment #232397 at Anime & Manga ** mfw im learning to program
#143 - alexzerian (09/26/2012) [-]
****		 yeah Java!
**** yeah Java!
#134 - MrOblivious (09/26/2012) [-]
I dropped programming for this semester because I was too lost.   
   
And in my tutorials my tutor was an asswipe.   
   
*something is wrong with my code*   
   
Me: Uhh something is wrong with my code, not sure what it is...   
Tutor: I'll give a hint, there is something wrong in one of your lines   
   
YEAH, NO 			****		 SHERLOCK! I bloody know that ... that's why I asked for help...   
   
and he refused to help me further ... what a douche...
I dropped programming for this semester because I was too lost.

And in my tutorials my tutor was an asswipe.

*something is wrong with my code*

Me: Uhh something is wrong with my code, not sure what it is...
Tutor: I'll give a hint, there is something wrong in one of your lines

YEAH, NO **** SHERLOCK! I bloody know that ... that's why I asked for help...

and he refused to help me further ... what a douche...
#162 to #134 - thetrolltrolley (09/26/2012) [-]
If you truly wanted to learn, you should have researched outside of school. That's what I do :D

But, if you're not that interested then yeah I would have dropped it lol. Sounds like your teacher was a cock.
#144 to #134 - jaerbuen (09/26/2012) [-]
The exact same thing happend to me last year. Mfw when I got the same teacher this year
The exact same thing happend to me last year. Mfw when I got the same teacher this year
#105 - beyondanon (09/26/2012) [-]
HFW
#118 - dafuqz (09/26/2012) [-]
I can confirm this.
I can confirm this.
#402 - grimmwaters ONLINE (09/26/2012) [-]
>Programming
#395 - mrdarp (09/26/2012) [-]
I had no idea there were these many software developers here, looks like Im in good company ._.
User avatar #415 - TheFixer (09/26/2012) [-]
i just smash my face on the keyboard till it works.
User avatar #419 to #415 - mlprapist (09/26/2012) [-]
FJ here we have the person the designed apple maps
User avatar #459 to #419 - TheFixer (09/26/2012) [-]
it was a crowning achievement as was the ios6 those ***** will never get it to work!!
#175 - dredbot (09/26/2012) [-]
You just need to improve your science level.
#413 - haakonjohnsen (09/26/2012) [-]
**haakonjohnsen rolled a random image posted in comment #114 at Bullshitphysics solar flares **
**haakonjohnsen rolled a random image posted in comment #114 at Bullshitphysics solar flares **
#202 - LtMcG (09/26/2012) [-]
please compile please compile please compile please compile please compile please compile please compile please compile please compile please compile

****
User avatar #124 - lupislord (09/26/2012) [-]
public static void fukingRecursion(){

if(true){
fukingRecursion();
}
else{
fukingRecursion();
}

}
#145 to #124 - tiredofannon (09/26/2012) [-]
I don't know man, no base case. I think you mean,
else{
******************************* ();
}
User avatar #152 to #145 - lupislord (09/26/2012) [-]
public static void ******************************* (){

fukingRecursion();

for(int i = 0; i < 999999; i++){
fukingRecursion();
}

//and just when you thought it was over...
******************************* ();
******************************* ();
******************************* ();
}
#188 to #152 - tiredofannon (09/26/2012) [-]
Why would you do that to your poor computer?!?
User avatar #150 to #124 - HumbertoL (09/26/2012) [-]
I don't **** with recursion. Anything that can be done recursively can be done iteratively. So just use loops.
#190 to #150 - tiredofannon (09/26/2012) [-]
You're right in that you can always use a loop instead of a recursive function but recursion is usually much easier to write than multiple nested loops (once you're used to recursion that is).
#186 - dqtest (09/26/2012) [-]
when a code segment doesn't work and you can't figure it out
when a code segment doesn't work and you can't figure it out
[ 414 comments ]
Leave a comment
 Friends (0)