Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Code Maintainability

by Porculus (Hermit)
on Dec 04, 2008 at 21:16 UTC ( #728105=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Code Maintainability
in thread Code Maintainability

It's far from exclusive to Perl. You're right that Python can handle it; I don't know about Ruby, but there are plenty of other languages that do, the granddaddy of them all being Lisp.

It doesn't require that things be based on lists of arguments, of course, though it helps (that's the way Lisp does it!), and it doesn't even require a dynamic language. For example, the completely static language O'Caml provides named arguments as a syntactic feature, with compile-time checking etc.


Comment on Re^3: Code Maintainability
Re^4: Code Maintainability
by holli (Monsignor) on Dec 05, 2008 at 08:18 UTC
    For example, the completely static language O'Caml provides named arguments as a syntactic feature, with compile-time checking etc.
    Visual Basic too. /me hides


    holli, /regexed monk/
Re^4: Code Maintainability
by mr_mischief (Prior) on Dec 05, 2008 at 23:21 UTC
    Ada, PL/SQL, PowerShell, Modula 3, and Fortran 90 allow named parameters in arbitrary order, too. I'm sure there are more out there.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-04-20 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (488 votes), past polls