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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.