Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Is a Perl glossary necessary?

by Zaxo (Archbishop)
on Oct 09, 2002 at 04:47 UTC ( [id://203830]=note: print w/replies, xml ) Need Help??


in reply to Is a Perl glossary necessary?

For some words, like 'list', Perl has several traditional uses. Perhaps a dictionary format, with several definitions, would be better. I had experience with other languages, but there was a significant period of confusion in my learning Perl.

I don't think Perl should dumb down because of that. The glossary idea strikes me as the right thing to do.

A few other words for the glossary:

  • void, scalar, and list context - how tightly can context be described?
  • hash - compare to dictionary and association in other languages, describe a hash table to justify the term
  • map - describe as a transformation of a list
  • grep - compare to map, describe similarities and differences with grep utility to justify the name
  • regex - simple description as a pattern specialized for string matching, enough history to justify the name, comparison to other versions.
  • reference - compare to addressing in the common sense, speak of ability to follow dynamically changing data.

Is that the level you think is needed?

After Compline,
Zaxo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found