laziness, impatience, and hubris PerlMonks

### Re^6: If you believe in Lists in Scalar Context, Clap your Hands

by chromatic (Archbishop)
 on Oct 30, 2008 at 07:14 UTC ( #720416=note: print w/replies, xml ) Need Help??

If someone doesn't understand operator precedence, they have bigger issues than just a mental model of lists.

Yes. I agree. Every novice I've seen confused by the idea of "a list in scalar context" has had tremendous trouble understanding operator precedence and exactly what makes up a list in Perl. Context and operator precedence are the problem, not listishness.

• Comment on Re^6: If you believe in Lists in Scalar Context, Clap your Hands

Replies are listed 'Best First'.
Re^7: If you believe in Lists in Scalar Context, Clap your Hands
by BrowserUk (Pope) on Oct 30, 2008 at 12:18 UTC

Sometimes the illusion is more useful than reality.

If you doubt this, consider all the useful 3D representations you use daily, drawn on 2D surfaces...whether they be games or icons or "3D bar charts" drawn on computer screens; or photos or painting around your home or office; exploded views in assembly manuals; signposts and diagrams of all kinds.

Further, 'inaccurate conceptual models' can serve both the beginner and the expert alike.

If you covered any electrical or electronics in your education, you probably started off thinking that "electricity flows from positive to negative". And then got pissed with your previous instructors when they queered the pot by telling that electrons actually flow from negative to positive. And then queered it further by telling you that most of the equations you would need for real world electrical and electronic engineering would require you to continue signing your electrical quantities as if the former was true; due to convention.

Getting hung up on reality has probably been the downfall of more students come exam time than inability.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Create A New User
Node Status?
node history
Node Type: note [id://720416]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2018-04-21 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
My travels bear the most uncanny semblance to ...

Results (82 votes). Check out past polls.

Notices?