Thursday, June 10, 2010

Have a cup of JAVA

I used a Matlab function called gridfit that I found online (Matlab file sharing). I just modified my program to use the 'tilesize' argument, which is supposed to speed up lengthy calculations, and guess what? Gridfit gave me a pop-up message that said "Relax and have a cup of JAVA. Its my treat."


I love programmers who have a sense of humour. :D Remember "sanity checks"? :P

(I'll link the "sanity checks" article later...when I remember!)

Edit: Oops...I just realized that I didn't post "sanity checks". -_- It was in one of my saved items...

Anyway, here's the story: In a program I was going through, there was a block of code that was commented as
// sanity checks

That's where they perform all the checks necessary to make sure that the user didn't give any bad inputs that will "kill" the program! lol

No comments:

Post a Comment