http://www.perlmonks.org?node_id=728105


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.

Replies are listed 'Best First'.
Re^4: Code Maintainability
by holli (Abbot) 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 (Monsignor) 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.