Hi.

Quoting Uri Guttman <[EMAIL PROTECTED]>:
> <old fart rant>
> i use print for debugging (even in complex multiprocess
> systems via log files) as i know where and what to print from
> experience. setting up a debugger to stop at the right place and only
> print the right things is much more work IMO.

That should not be true anymore.  In my IDE (eclipse), to get the debugger to
stop at the right place and display the right information, I just double-click
next to the line; that is a lot faster and easier than even typing 
"print".  It
also means that I do not have to undo extraneous code or diff against my SVN
repository verify that I have cleaned up any additions made for testing.  And
if I decide I need to check some other data or expression in the middle of a
debug run, I can do that with a single click.  To set up and run the debugger,
I just click the debug icon.

Perhaps the real problem here is that there are too many "old farts" who have
not experienced a modern IDE and what it can offer.  In addition to easy
debugging, just a few of the useful features to expect are:
1) highlighting of code, comments, TODOs, errors, etc.
2) rollover documentation (displaying the docs for a function just by rolling
the mouse over its name anywhere in the code)
3) highlighting of references (highlighting, say, a selected variable name
everywhere in the code)
4) refactoring across files and projects (so if you change the name of a
function or variable, replacement everywhere happens automatically)
5) links within source code (clicking through the name of a function
automatically opens its file and jumps you to its definition)
6) outlining of files (including moving whole blocks of code w/drag-and-drop)
7) file management, including automatic refactoring when moving files
8) seamless integration with version control
9) spell-checking and warnings of many types
10) searching of code across projects, documentation, and the web for anything
None of these should require any setup or effort.

Sure, you can write fine code with just a text editor, but it might not be as
easy, fast, or efficient as with an IDE.  It would be nice if there 
were a good
one for Perl....

+ Richard

 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to