Transitive const sucks
Walter Bright
newshound1 at digitalmars.com
Wed Sep 12 11:42:12 PDT 2007
Sean Kelly wrote:
> This was perhaps too strong a statement on my part. Given the design of
> const, I'm beginning to suspect that while the syntax of D is fairly
> similar to C++, I think the structure of a D app five years from now may
> well look very little like that of a C++ app. The recent D features all
> lend themselves to a more functional style of programming. This is
> probably a good thing in terms of scaling towards the future, but it
> could be surprising for someone who thinks D is C merged with Java :-)
Interestingly, the look of C++ apps have changed *substantially* over
time as new philosophies of how to use it have evolved.
One could note that I'm a bit stuck in the past, as my C++ code (the D
front end) is definitely an old style of C++. It has very little in
common with the modern style (see Boost for that).
More information about the Digitalmars-d
mailing list