Am 28.09.2011, 17:23 Uhr, schrieb Gor Gyolchanyan
<[email protected]>:
D supports much more programming paradigms, then any other language i
know. The combination of all those paradigms enabled D programmers to
do things, that is impossible to do in any other language.
Your approach to D2 as a slightly enhanced D1 kills that advantage of
D. Although i can understand why you chose to do that (and i agree
with your choice given the circumstances).
I just don't want to invest lots of time and effort in code, that does
not use language features, that are about to be implemented (although
the "about to be" can range from days to years).
Well it's not like I give up anything.
Most of D's (esp. optimization) potential isn't used yet anyways.
So as a very basic example declaring a function pure doesn't change much,
at least with dmd (llvm has interesting IR attributes like readonly and
nocapture that look suspiciously like pure and scope but I don't know if
LDC uses them).