A reason to choose D over Go
Tobias Müller via Digitalmars-d
digitalmars-d at puremagic.com
Sun Mar 22 11:01:31 PDT 2015
"weaselcat" <weaselcat at gmail.com> wrote:
> On Sunday, 22 March 2015 at 01:24:10 UTC, Martin Nowak wrote:
>> On Saturday, 21 March 2015 at 23:49:26 UTC, Atila Neves wrote:
>>> I actually think that there are two large categories of
>>> programmers: those like writing the same loops over and over
>>> again and those who use algorithms.
>>
>> I agree, at some point I learned that there is a huge cultural >
>> distinction between C and C++ programmers.
>
> yes, the other main distinction are the people who correctly put the *
> next to the type because it's part of the type, or the wrong people who
> put it next to the variable name because they're heathens
One could argue that in the declaration:
int *a;
the type of *a is int.
So it's not a pointer type but a dereference operator.
That actually similar to how patterns work in modern programming languages.
Tobi
More information about the Digitalmars-d
mailing list