in reply to Good use for prototypes. On methods no less!
Hmmm. I can certainly understand why PBP wouldn't refer to this as I can't imagine anyone would claim that this is a best practice.
Why are you wanting to do this? Are you really having that many people who can't read the docs? Personally, if someone has ignored the docs sufficiently to be calling a method as a function, I don't really care what happens to their code; it's unlikely to do anything useful and they'll notice that, unless they don't care, in which case ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Good use for prototypes. On methods no less!
by polymorpheus (Novice) on Jun 04, 2012 at 16:41 UTC | |
by thargas (Deacon) on Jun 05, 2012 at 12:09 UTC | |
by polymorpheus (Novice) on Jun 05, 2012 at 13:04 UTC |