http://www.perlmonks.org?node_id=662052


in reply to Free Perl IDE for a begginer

Hi,
since you are writing about your troubles with programming at all,
this is not what you've asked for, but I'll try to explain how I program in short..
I prefer to write my scripts with vi.
It's very powerful, and you'll be able to edit you scripts much faster than with the common ide's. (it also has indentation, of course)

I'm very seldom using a debugger,
if there are troubles, I normally just insert some print statements instead, both to just show me in which line the execution is as well as to print some expression's values.

You can look through the output very fast if the script is running, instead of having to watch some variables at the right time.

I guess it's also a matter of the structure of thinking:
I need to think about what WILL happen at runtime - and if there are troubles, what will happen at the next runtime and where to insert some print statements.

If you are used to a debugger, you will most likely just fire your script and watch some expressions, which show you then what HAS happened.
Instead of having to think in the whole context, you are able to look at separated parts.
This way there is no need to have the whole script's structure in your mind, instead you are able to change the separated parts to finally do what you want.

Programming is a kind of riddle to me, which is pure fun to solve.
And I guess this has something to do with how you think while programming, using a debugger always prevented me from thinking enough.