On Aug 9, 11 02:32, Kagamin wrote:
bearophile Wrote:
This is a recently opened (not by me) enhancement request thread:
http://d.puremagic.com/issues/show_bug.cgi?id=6442
D is the language to save keystrokes. This proposal is plain invalid.
I disagree. If you want to save keystrokes, use Perl.
"D is a multi-paradigm programming language that combines a principled
approach with a focus on practicality. In D you get to harness the power
and high performance of C and C++ and also the safety and programmer
productivity of modern languages such as Ruby and Python. Special
attention is given to the needs of quality assurance, documentation,
portability, and reliability."
Nowhere mentions saving keystrokes. The proposal is OK, as a mean to
provide reliability (where you ensure a variable passed is not modified
in opaque because it is pass by 'ref') and documentation at call-site.