Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment: Re:Procedural vs OO (Score 5, Insightful) 303

by kjots (#48727787) Attached to: Anthropomorphism and Object Oriented Programming

By the same token, now you have to implement pie.toast() and cake.toast() and lots of other useless and irrelevant methods, even though you're never ever going to use them, simply because they extend the isBakeable() interface.

Unnecessary, since the IsBakeable interface provides a default implementation of the toast() method that throws an exception if you attempt to toast something that is not toastable.

The real issue is why the IsBakeable interface has a toast() method in the first place...

You know, Callahan's is a peaceable bar, but if you ask that dog what his favorite formatter is, and he says "roff! roff!", well, I'll just have to...

Working...