Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Language features affect style

by tsee (Curate)
on Jun 10, 2009 at 15:13 UTC ( #770375=note: print w/ replies, xml ) Need Help??


in reply to Language features affect style

Thanks for the interesting meditation.

I actually like the idea of the "introduce explaining variable" feature a lot. It's not something I can see people use all over the place, but I tend to get quite a bit of bad code that computes long parameterizations as a single expression, so it would be useful to have.

Therefore, I just implemented the feature as "introduce temporary variable" in the Padre editor. I would expect it to be part of the next release.

Cheers,
Steffen


Comment on Re: Language features affect style
Replies are listed 'Best First'.
Re^2: Language features affect style
by tilly (Archbishop) on Jun 10, 2009 at 15:20 UTC
    If you're looking for other potentially useful refactorings, I highly recommend picking up Refactoring by Martin Fowler. Most of the book is a catalog of refactorings that he has found useful.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://770375]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2015-09-04 02:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (128 votes), past polls