
paul at pjcj
Feb 27, 2012, 2:11 PM
Post #6 of 14
(145 views)
Permalink
|
On Mon, Feb 27, 2012 at 02:26:48PM -0700, Karl Williamson wrote: > On 02/27/2012 02:11 PM, Eric Brine wrote: > >On Mon, Feb 27, 2012 at 8:23 AM, Tom Christiansen <tchrist [at] perl > ><mailto:tchrist [at] perl>> wrote: > > > > Is there some reason why say() wasn't made a weak > > keywork the way lock is? > > > > > >Maybe because that wouldn't prevent the keyword from breaking the following? > > > >say("foo"); > >sub say { } > > > > I asked this question a while back, and someone, perhaps rgs, gave > me a satisfactory IMO reason. I've wondered for a little while now whether it wouldn't be useful to have some sort of document describing design decisions. Some design decisions are reached only after much debate. Years later, people who were not involved in those discussions may not understand why they were taken. We've seen a fair bit of this recently. The text could probably be copied from mail messages, or perhaps it could just be the final message from the pumpking. Or, perhaps better still, it could be the reference to the git commit where the design is explained. Perhaps we have already decided we don't want such a document. Why did we do that? -- Paul Johnson - paul [at] pjcj http://www.pjcj.net
|