accept @pure @nothrow @return attributes
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 29 13:47:47 PST 2015
On 1/29/2015 6:00 AM, Jacob Carlborg wrote:
> On 2015-01-29 01:19, Walter Bright wrote:
>
>> One of the other mistakes they make is the great idea of implicit
>> declaration of variables, and then ruefully have to deprecate/remove it
>> a year or two later. (How could those experienced designers have missed
>> this obviously great feature?!?)
>
> Ruby has implicit declaration of variables. Ruby it has been around longer than
> D and are used by far, far more developers.
"Some languages have started out with the implicit declaration behavior, but as
they matured they provided an option to disable it (e.g. Perl's "use strict" or
Visual Basic's "Option Explicit")."
-- http://en.wikipedia.org/wiki/Declaration_(computer_programming)#Variables
Ruby also has monkey patching, another misfeature.
Even so, lots of languages survive execrable features if they are
counterbalanced by more desirable one.
More information about the Digitalmars-d
mailing list