develooper Front page | perl.perl6.language | Postings from September 2018

Best practices?

Parrot Raiser
September 2, 2018 17:35
Best practices?
Message ID:
What would be the criteria for deciding whether to name P6 constants
using  lower-case or UPPER_CASE names?

Generally,  system constants and variables use upper-case, so
lower-case keeps user variables in a separate name space. Do
user-defined constants belong there, or in upper-case to indicate that
they are global?

Apologies in advance if this starts a vicious ideological conflict. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About