Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: •Re: Re: •Re: Self-improvement and TMTOWTDI

by pdcawley (Hermit)
on Jan 24, 2003 at 23:38 UTC ( #229749=note: print w/replies, xml ) Need Help??

in reply to •Re: Re: •Re: Self-improvement and TMTOWTDI
in thread Self-improvement and TMTOWTDI

The true IDE thing, please ghod, give it to me now. I think I can get an awful lot of what's needed to support a Smalltalk browser in Perl 5, but the introspection involved is, frankly painful. One of my fondest hopes for Perl 6 is that the Perl level introspection capabilities will be at least as powerful as perl 5's but with nicer interfaces.
  • Comment on Re: •Re: Re: •Re: Self-improvement and TMTOWTDI

Replies are listed 'Best First'.
Re^5: Self-improvement and TMTOWTDI
by adrianh (Chancellor) on Jan 25, 2003 at 00:23 UTC

    I second that.

    What would make me really happy is if perl6 would give us enough introspection abilities to make a perl refactoring browser that wasn't an insane hack of special cases.

      You've seen Preface (PERl REFACtoring Engine) then? I still can't quite believe that I got the Extract Method refactoring working. The way it works is utterly evil, but it is possible (and, AFAICT from the spike I did) should work in many cases.

      Detecting the lexical variables involved in a code segment by repeatedly evaling and modifying the same section of code based on $@ until compiles successfully is, frankly, weird. Especially when, to get things to be compiled in the right context you had to do some magic with coderefs in @INC.

      Once I've got Pixie good and stable, I really should go and revisit Preface...

        You've seen Preface (PERl REFACtoring Engine) then?

        Actually no - where is it (the sourceforge page doesn't appear to have any code)?

        I'd just played around with writing my own for a day or so a few years back, but the code rapidly became too evil for my tastes :-)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://229749]
[choroba]: Perl to the rescue!
[Corion]: hippo: At least for the German translation, the wordplay is translated as well
[Discipulus]: always! but if i can ask choroba why you always use the inverted (to me) form 1 == $.?
[choroba]: To avoid accidental overwriting of the variable in if ($x = 3)
[karlgoethebier]: Corion: Auch in hessisch? Mer wasses net.
[Corion]: Hmm - I'm not sure, I haven't read the mundart/slang translations ;)
[Eily]: $F[1] =~ s/^0//r could be written as (0+$F[1]). It's less explicit though

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2017-05-24 08:40 GMT
Find Nodes?
    Voting Booth?