[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Go Programming Environment Offered (?)




"P.J.Leonard" wrote:
> > I can't say I exactly see how having an interface keyword makes people
> > think clearly, tho.
> 
>  The interface keyword makes it clear
> that you are implementing an interface not extending an object. In C++
> this is not clear unless you look at the implementation.

Well, not really. It could be unclear if you haven't looked at the
interface definition, but that's pretty trivial. Interfaces wouldn't
exist as separate entities in Java if Java had multiple inheritance. In
any event, you can simply "#define interface struct" to make it clear.
-- 
http://www.classic-games.com/
If you commit perjury, you go to jail... Is the President of the United
States above the law? Food for thought.
*** NEWBIES: Limit signatures to four lines! No HTML mail or posts! ***