Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: A subroutine is a reference to a list of statements

by Maclir (Curate)
on Sep 10, 2001 at 00:57 UTC ( [id://111325]=note: print w/replies, xml ) Need Help??


in reply to A subroutine is a reference to a list of statements

While your proposition may have some intellectual "completeness" to it, there is enough line noise in Perl without taking what is a perfectly understood concept of labelling subroutines / functions / whatever with a descriptive tag. Now any reasonable programmer seeing a code fragment like:
sub foo { # # some collection of statements that do foo # return $status }
will be pretty clear what it is doing. Why complicate things by replacing a perfectly good word (sub) with some cryptic symbol? This is Perl, not APL. How does it advance the language, or provide needed features to the language?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-26 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found