Interface base classes should have no member data.
Name:
Anonymous2007-12-05 18:48
Interface base classes are faggot OO shit.
Name:
Anonymous2007-12-05 19:26
ITT people who have learned exactly one OO language assume they all work the same. Show them prototypes, multimethods, generic functions, mixins, MOP, or anything not in Java/Sepples and they'll wet their pants.
Name:
Anonymous2007-12-05 19:33
>>4-7
ITT people who don't know what they are talking about.
Name:
Anonymous2007-12-05 21:14
>>9
Let's say it. Things like multimethods are for lazy fags who only work with super-bloated high-level shit languages.
>>9
Let's say it. Things like multimethods are for lazy fags who only work with super-bloated high-level shit languages.
Name:
Anonymous2007-12-05 21:32
>>9
Multimethods? Is that kind of like this: data Data= String String | Bool Bool
f :: Data -> ()
-- Dispatch on the type of the arguments
f (String _) = {- Stuff -} ()
f (Bool _) = {- Stuff -} ()
Or is it more like: class Class a where
f :: a -> ()
instance Class String where
f _ = {- Stuff -} ()
instance Class Bool where
f _ = {- Stuff -} ()
?
Name:
Anonymous2007-12-05 21:46
>>14
It's more like (defmethod flurb ((object t) (tcejbo t))).