D - more power than (really) needed !

Stewart Gordon smjg_1998 at yahoo.com
Mon Mar 6 04:16:45 PST 2006


bls wrote:
<snip>
> Templates nice to have, but nessesary ? No. Let me quote Betrand Meyer.
> ~~~ "Inheritance is more powerfull than  using templates"

Having both must be even more powerful then.

> Yes, I know Eiffel supports templates but the point is that everything 
> can also be done using inheritance. And heh, we have GC.

Would you care to supply an example?

<snip>
> The Oberon Language spec. has 18 pages is extremly simple and
> enables you to create an combined code/text/graphic editor, using 
> inheritance and a good choice of patterns,  which has much more power 
> than let's say Scintilla.
> So I wonder how can this be done with such a simple language, and
> what does it mean for D? D more power than REALLY needed!
<snip>

There are Turing-complete languages that are even simpler than this.

Stewart.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- 
PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox.  Please keep replies on 
the 'group where everyone may benefit.



More information about the Digitalmars-d mailing list