Worst ideas/features in programming languages?
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Sun Oct 24 08:42:54 UTC 2021
On Monday, 11 October 2021 at 19:15:51 UTC, bachmeier wrote:
> On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote:
>> I'm brainstorming about what I'll talk about at DConf, and
>> during a conversation with Walter I thought it might be cool
>> to talk about:
>>
>> * Worst features implemented in a non-toy language
>
> C's pointer notation is too stupid for words. (I understand how
> it works. I've been using it for decades. Please no
> explanations.)
Yes, it is cultural debt, that came from a desire to express
types such as a 'pointer to a pointer to an int' with a notation
for keyboards with a limited set of easily accessible symbols.
The cost is quite high, but people are used to. It us equally
puzzeling why prople want "&&" instead of "and" or "||" instead
of "or". There is no rational explanation, I think people like to
feel that they are using something advanced and that a syntax
that that is associated with advanced usage makes them feel more
skilled? Kinda like fashion...
More information about the Digitalmars-d
mailing list