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:
Jonathan Lang
Date:
October 2, 2006 09:48
Subject:
Re: "Don't tell me what I can't do!"
Message ID:
ef30550b0610020948k3f95e9bdi3c05fd7dbe1e23fa@mail.gmail.com
jerry gay wrote:
> Jonathan Lang wrote:
> > I'm not used to programming styles where a programmer intentionally
> > and explicitly forbids the use of otherwise perfectly legal code.  Is
> > there really a market for this sort of thing?
>
> use strict;

Hmm... granted.  But that does tend to sidestep the main thrust of my
question.

The examples I gave involved specific roles or routines being
forbidden from use in certain situations; my gut instinct is that if
you don't think that it's appropriate to use a particular role or
routine somewhere, you should simply not use it there; I can't see why
you'd want the compiler or runtime to enforce not using it there.

-- 
Jonathan "Dataweaver" Lang

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