stevan/p5-mop — Issue #21: Explain closed classes
Author: stevan
Created: 2011-10-19 17:04:04+00:00
State: open

``` class Foo { } class Foo { }
when did "Foo" finish compiling?
well
honestly
with a mop
you dont need the ability to do class Foo {} class Foo {}
and I argue that it leads to fucked up code
see also Ruby
re-opening a class is a drastic action
and should be treated as such
...
you seem to be pushing policy into the class {} keyword
no
in that it can only be used once for one class
can you do this?
sub foo {} ... sub foo {}
no
of course not
it wont work
so why should you be able to do class Foo {} class Foo {}
```