Saturday, November 29, 2008

Today i learned the importance of tidy coding

I went back and reformatted an old ASCII program that would display the ASCII character for each number.. it's kind of neat.. But it was done half assed i can only imagine i was coming up to a deadline and didn't finish in time.

Anyway it's here that i learned how horrible my coding practices were, so i went through it and fixed it so people could actually read it.. Which seems much more important now then having compact code, or "clever" code.. being able to read your code and manage it later, or making it easy for other people to read/edit your code is extremely important. It makes everything easier and one of the most important assets you have to take into account while coding, isn't performance but the amount of time you spend implementing something.. Why make it harder for yourself in the future?

Anyway, that's what i learned from this bit..

Sunday, November 16, 2008

Spider Killer!

I killed a spider! and i started putting up current projects in C++ just exe's so far there's 1 that i've done from this class. It may look a little unimpressive but some work did go into it. I would love to post the syntax but i'm afraid the teacher might reuse syntax and i wouldn't want to do that to him.

All in all i might make it a little reference page for myself. Somewhere i can run off and grab code so i don't have to start from scratch every time.

I want to start putting projects up in Visual Basic but i haven't quite gotten to it yet.. Those projects are right out of a book that's probably considered out of date by now so i wouldn't have a problem posting them when i do get around to it.

Beyond that.. nothing really planned, i probably won't do much for a couple of weeks.