Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: What did you have to Unlearn

by marcink (Monk)
on Jun 08, 2001 at 21:09 UTC ( #86980=note: print w/replies, xml ) Need Help??


in reply to What did you have to Unlearn

I don't remember UNlearning anything, but there are some things about perl that took me some time to get used to them. One such thing is definitely the context -- I believe I have never previously seen a language in which the value returned by an expression depends on what you want to do with it. It's the most un-C-like feature in perl (although it's somewhat similar to functional languages' type-guessing).

Another thing is perl's idea of OO. It's strange. It's funny. It's not actually OO by most definitions of the term -- it does not even pretend to protect object's variables, for example. But it works ;-)

Last but not least there's the matter of map and grep -- for a very long time I used loops and (god forbid) indexes to convert one array into another. foreach and map are just beautiful.

The interesting part is that you don't *have* to learn these things to start programming in perl -- sooner or later they will get to you anyway ;-)

-mk

Replies are listed 'Best First'.
Re: Re: What did you have to Unlearn
by Beatnik (Parson) on Jun 08, 2001 at 21:28 UTC
    Another thing is perl's idea of OO. It's strange. It's funny.

    You think Perl's OO is funny, strange?? Try Cobol's OO... It's plain kinky ! :)

    Greetz
    Beatnik
    ... Quidquid perl dictum sit, altum viditur.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2019-12-11 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?