Learning Java and logic using debugger. Did I cheat?
Posted
by centr0
on Stack Overflow
See other posts from Stack Overflow
or by centr0
Published on 2009-10-09T18:30:39Z
Indexed on
2010/06/17
0:02 UTC
Read the original article
Hit count: 155
After a break from coding in general, my way of thinking logically faded (as if it was there to begin with...). I'm no master programmer. Intermediate at best. I decided to see if i can write an algorithm to print out the fibonacci sequence in Java. I got really frustrated because it was something so simple, and used the debugger to see what was going on with my variables. solved it in less than a minute with the help of the debugger.
Is this cheating?
When I read code either from a book or someone else's, I now find that it takes me a little more time to understand. If the alghorithm is complex (to me) i end up writing notes as to whats going on in the loop. A primitive debugger if you will.
When you other programmers read code, do you also need to write things down as to whats the code doing? Or are you a genius and and just retain it?
© Stack Overflow or respective owner