You're right in that I should better say nouns when I mean nouns, not words.
if you don't grasp the basics, its all greek to you
Do you refer specifically to the map-vs.-subroutines thing I demonstrated? Then no, I wouldn't consider a basic must-know that map and other list operators(?) are array-like, subroutines however list-like in regard to what they return.
But even as a native speaker of German (and hobby linguist) I find a pretty bucket of WTFs in its grammar, I presume I must have had a really hard time cramming its basics while in womb ;-). But it is not the topic. Just want to say that English is perfect, as well as German and any other natural language is. Programming languages are different here. They should evolve based on reason, much less on convention. The more they are based on convention and subtleties like what I exemplified, the more time the programmer must invest not in thinking and understanding the language and the machine at last logically, but in hacking by try and error. Of the former the return of investment would be a bit larger since machines are logical as well.
I do not want to argue against Perl. It fits for people like me who like languages and I really love programing in it most time. But after all, to the novice it provokes an illusion of a machine that kind of understands him or her. The learning path from Perl to another language stricter by design is more frustrating than vice versa, I am afraid.
To put it short: I do not explicitly recommend Perl to novices of programing because of this and if others doing so is the reason why it is not widely used (learned) any more, it is okay. I feel I am better off writing my own code in a way that as few knowledge of the downsides of the Perl language as possible is required to understand the program, and demonstrating every once in a while its upsides, e.g. the use of map in list context (edit: which also means never ever as a subroutine return value as you have limited control over which context the sub is called in). If my code arouses curiosity on Perl programing without my advocating it, well, that is worth the try.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||