Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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.


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?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-11-26 13:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (701 votes), past polls