From now on I'm giving all my variables full names. None of this for(int i=0; i <= n; ++i) {...} crap. If I had put for(int index = 0; index <= matrixsize; ++index) I would have spent about two minuets more typing the extra letters and saved half an hour of debug time.
It is now two in the morning. I have class in seven hours. I'm ranting about stupid programming mistakes on Tangler, and I'm probably incoherant. Good Night.
Goodnight 5t W. (don't let the bed bugs bite)![]()
You should start calling your vars: var1, var2, var3 or even 23, 432, 288.
that way, you will never become prunable... but you'll never get promoted either.
My variables usually run along the lines of theNumberOfTimesThatINeedToGoThroughThatLoop, or theInputThatWillDetermineTheCharactersNextMove. Takes a lot longer to type the first time but much more fun when you have to debug, and usually end up Ctrl+V for it going forward. Or Ctrl+H for a bunch of code that I steal from elsewhere.
Admittedly I've never been employed as a programmer, so I doubt that I'd get a promotion.
Sending ...