Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^8: pissed off about functional programming

by adrianh (Chancellor)
on Apr 26, 2005 at 12:46 UTC ( #451534=note: print w/replies, xml ) Need Help??


in reply to Re^7: pissed off about functional programming
in thread pissed off about functional programming

You can look unfamiliar with a language without having another language's accent.

I don't really understand what your definition of accent is then ;-)

For me it's using one language in a non-idiomatic manner because your approach to solving problems has been pushed in one direction by another languages idioms.

For example, I'm not avoiding meta-classes in CLOS because I'm unfamiliar with the concept. I started learning OO with CLOS and other languages that supported meta-classes long before I came across Perl. I'm avoiding them because I've spent a lot of time coding type in Perl over the last few years, and Perl doesn't support classes in the same way as other OO languages.

Another example is when I started learning Ruby. I definitely wrote Ruby with a Perl accent for some time before I learned the more natural Ruby idioms. I had people comment on that fact because I was doing things like explicit loops rather than using iterators/continuations.

  • Comment on Re^8: pissed off about functional programming

Replies are listed 'Best First'.
Re^9: pissed off about functional programming
by Roy Johnson (Monsignor) on Apr 26, 2005 at 12:54 UTC
    For me it's using one language in a non-idiomatic manner because your approach to solving problems has been pushed in one direction by another languages idioms.
    If the idioms you choose to use are typical of one language, you're coding with an accent. If the idioms you choose to use are common to a lot of languages, but the language you're using has a "better way", you're coding in baby talk, which is different from an accent. In other words, if it's clear that your background is with a particular language, you're coding with an accent; if it's only clear that your background isn't with the language you're using, no accent.

    Caution: Contents may have been coded under pressure.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2019-04-21 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (110 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!