PDA

Click to See Complete Forum and Search --> : All the little things...


Sophtware
Sep 27th, 2000, 02:43 AM
GRRRRRRRRRRR Have you ever been working on a pretty big project and then in haste you press the wrong button on the keyboard? and nearly destroy your code!!!!!!

Example:

When you do something like

winsock1.connect "127.0.0.1", 1134
^
that little comma thing --> |


but say it was a whole page of code and you BY MSITAKE of course.... add a extra "," and the WHOLE code moves down a extra line...so your stuck wondering what the hell??????? ..most the time i can figure where the bug is..but sometimes it seems like i am retarted.

Or those times when in your code you have a "FOR NEXT" loop
and the variable you set is too big for whatever reason and the whole program FREEZES!!!!!!!!!! and you didnt save your code cause you thought to yourself "after this test i will save it!" And lo-and behold it crashes!!! how fing sweet luck eh?:)


Well not no more.eveytime i make a change to code i just save it in a .txt file and am good to go.


But why o why does the learning process have to be so painfull WHY?????!!!! hahaha


ok am done...
got any battle...i mean programming scars? if so...post it!!!!




"I Can tuna FORD but i cant tunaFISH!!"

Ianpbaker
Sep 27th, 2000, 05:33 AM
in my first week of my very first contract, I was doing a simple database asp page and unfortunatley made a endless loop in the page. some one looked at this page and left the browser open and went away. subsequently this caused the server to run out of memory and caused it to come tumbling down, taking the SQL server (a different server) with it. When they realised this had happened. It took 3 hours, to get the serversback up and running. luckily they didn't find out it was my page that did it, and whilst they were running around, trying to work out what had happened, I went out for an early lunch.

It knocked my confidence for a while and luckily I haven't done anything like that since. I do now see the funny side of it, but at the time, I was absolutley bricking it.

Ian

HarryW
Sep 27th, 2000, 01:00 PM
Hehe, yeah I've done something similar. I was checking my code and accidentally was making a new connection every time I refreshed the page. After 50 - 100 or so refreshes, the server crashed (I was surprised it was so few connections that did it) and took several people down with it ;) They weren't too happy.