Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

D programming language

Name: Anonymous 2009-03-01 10:06

So what does it offer to me that C++ doesn't?

Name: Anonymous 2009-03-01 14:12

>>1
* Nested functions
* Native 'foreach' loops
* Garbage collection
* Real string support
* #!/usr/bin/dmd -run
* Templates that don't end up looking like a cat walked on the keyboard
* in, out, and inout parameters for functions. Way more sensible than dealing with function references, and catches a lot of dumb mistakes too.
* Built-in unit testing and contract programming. Personally I find this to be invaluable.
* Lazy evaluation (see http://www.digitalmars.com/d/2.0/lazy-evaluation.html - this is really neat)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List