www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Feathers's wish list

Feathers knows OOP programming well and especially Agile strategies and the
like. I think he often works with medium-large code bases, usually commercial.
This is a list of wishes for a simple mainstream language, where he avoids too
much difficult things on purpose:

http://blog.objectmentor.com/articles/2008/12/29/a-wish-list-for-the-next-mainstream-programming-language

http://www.reddit.com/r/programming/comments/7maf3/a_wish_list_for_the_next_mainstream_programming/

There can't be a single ideal language, different people have different
purposes. D target isn't the target he is talking about because D is closer to
a system language. Still I like to comment about the points, because some
things can be shared:
- Immutability by Default: D2 is become more immutable-friendly, and not
sharing data among threads by default too goes in such direction. D2 strings
becoming immutable by default... I think this is a good compromise for D, given
its purposes.
- Support for Components: something like this can be useful for D too, they are
mostly useful for larger projects.
- Support for Testing: D has already a bare-bones support for unit-testing. He
says: >at the very least we could add constructs to a language which make
mocking and stubbing much easier. It’s also about time that languages attempt
to solve the problems that dependency injection addresses.< Maybe such things
can become useful in D too.
- Imposed I/O Separation: I don't know about this enough to judge.

Bye,
bearophile
Dec 29 2008