Log in

No account? Create an account
color cycle (slow)

Kistaro Windrider, Reptillian Situation Assessor

Unfortunately, I Really Am That Nerdy

Previous Entry Share Next Entry
Dumbass Attack
color cycle (slow)
Note to self: When writing a Java routine that carefully avoids executing unneccesary code in certain situations, not calling the "pushForward" routine in an array when the item to be "inserted" would be placed at the first empty location anyway (as opposed to somewhere in the middle, requiring everything to be pushed forwards) , make sure to increment the value being used to hold the index of the last real item in the array...


At least I programmed my code to throw meaningful exceptions so I could find what went wrong. That and toString() giving meaningful results.

  • 1
Heh, dumbass attack. Sounds funny. I can just imagine: Someone going to walk outside, then hitting their head on a glass door, then a big sign "DUMBASS ATTACK" or something.

Meaningful exceptions : programmer :: parachute : skydiver.

  • 1