Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Solicitation For Ideas: Tutorial On Precedence

by Limbic~Region (Chancellor)
on Feb 15, 2005 at 14:39 UTC ( #431196=note: print w/replies, xml ) Need Help??


in reply to Re: Solicitation For Ideas: Tutorial On Precedence
in thread Solicitation For Ideas: Tutorial On Precedence

dragonchild,
We have Tutorials for many things that are already explained in the documentation from using pack/unpack to command line arguments. The point is that not all people immediately understand this information and they need it presented to them in a different way. Perhaps I am thinking more of a beginner's guide to precedence. It seems that for a lot of people who's first language is Perl - they come to expect the Do What I Mean (DWIM) approach. I often get WTF comments in #perl when I am explaining an answer by stating that "...binds more tightly than...".

Or perhaps - I am just misjudging the need.

Cheers - L~R

  • Comment on Re^2: Solicitation For Ideas: Tutorial On Precedence

Replies are listed 'Best First'.
Re^3: Solicitation For Ideas: Tutorial On Precedence
by dragonchild (Archbishop) on Feb 15, 2005 at 14:52 UTC
    I'm not dismissing the need for such a tutorial, but I suspect new users would be better served by a tutorial on how Perl code is chunked with a section on operator precedence. That way, you can include things like
    • Creating a list of hashrefs using map{}
    • Why doesn't print (3+5)/3; DWIM?
    • Why do some people do things like my $x = $hash_of_stuff{+shift}?

    The real topic is a larger one than the one you're looking at.

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

      dragonchild,
      The real topic is a larger one than the one you're looking at.

      Fair enough. Hopefully this thread gets enough input for me to write such a tutorial or motivates someone else to.

      Cheers - L~R

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2021-03-01 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (13 votes). Check out past polls.

    Notices?