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

Re: Explaining source code

by submersible_toaster (Chaplain)
on Dec 13, 2008 at 02:33 UTC ( [id://730096]=note: print w/replies, xml ) Need Help??


in reply to Explaining source code
in thread Deriving meaning from source code, some code is self documenting

Possibly, if the idioms you're looking to explain can be expressed by pulling apart sequences of PPI tokens, the scope would be just as broad.The Schwartzian Transform for example could be matched. Do you have some examples for be me think about?

I keep meaning to take a deeper look at Padre, which appears to be moving a at great pace. Were Padre to have a POD panel alongside editor,fs tree, etc - macropod could be used there as already described


I can't believe it's not psellchecked

Replies are listed 'Best First'.
Re^2: Explaining source code
by szabgab (Priest) on Dec 13, 2008 at 18:32 UTC
    for a starter I'd like to be able to recognize and explain thing such as $_, $_[0], $a, but of course expanding bigger expressions would be also cool.

    What is $x ||= 42; ?

    Think about beginners, or people with little experience who are thrown in to maintain a nasty code base.

    Think about people for whom Perl is only a 3rd or 4th level tool that they hardly know, hardly use but want to fix some code.

    I am sure we'll work out the details on the Padre mailing list or IRC channel.

      Without meaning to be rude , what are the chances a perl beginner ever escapes from their editor of choice? I had a bash w/ Padre on ubuntu 8.04 this weekend and stopped at the instruction to 'remove all Wx 2.6 from your system' - Not likely!


      I can't believe it's not psellchecked
        I am not sure what was supposed to be rude in your comment.

        If you are asking how beginners will be able to install Padre, then there are several plans.

        One of them is that Padre will come with many linux distributions.

        e.g. It already comes with Fedora and Mandriva. The Debian group is working on adding it to their distro, from where it can easily get into Ubuntu.

        Separately we hope to renew the support of downloading stand-alone executable of Padre for linux.

        For Windows we have a stand alone Portable Strawberry Perl beta with Padre inside that you can download, unzip and start using Padre.

        Of course if you won't upgrade your OS, it might never work for you.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-23 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found