Kistaro Windrider, Reptillian Situation Assessor (kistaro) wrote,
Kistaro Windrider, Reptillian Situation Assessor
kistaro

  • Mood:

Dumbass Attack

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...

DOH!

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

  • Last LJ post

    Hey all, I joined the LJ exodus train before it was cool</hipster>, but with recent developments in LiveJournal server location (…

  • (no subject)

    I want to assemble things that nobody else could ever assemble, and when they are done, I want to have done it in ways that nobody of average skill…

  • Failing, etc.

    That feeling of being 99% sure a social space would have been better for everyone without you in it, but you can't apologize or talk about it or…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments