develooper Front page | perl.perl6.language | Postings from October 2006

Re: "Don't tell me what I can't do!"

Thread Previous | Thread Next
From:
Dave Whipp
Date:
October 2, 2006 13:26
Subject:
Re: "Don't tell me what I can't do!"
Message ID:
20061002202632.12351.qmail@lists.develooper.com
Jonathan Lang wrote:
> Before we start talking about how such a thing might be implemented,
> I'd like to see a solid argument in favor of implementing it at all.
> What benefit can be derived by letting a module specify additional
> strictures for its users?  Ditto for a role placing restrictions on
> the classes that do it.

Or we could view it purely in terms of the design of the core "strict" 
and "warnings" modules: is it better to implement them as centralised 
rulesets, or as a distributed mechanism by which "core" modules can 
register module-specific strictures/warnings/diagnostics. If it makes 
sense for the core strictures to be decentralized, then the ability for 
non-core modules to make use of the same mechanism comes almost for free 
(and therefore it doesn't need much justification beyond the fact that 
some people think it might be a nice toy to use, abuse, and generally 
experiment with).

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About