Worst ideas/features in programming languages?

SealabJaster sealabjaster at gmail.com
Sun Oct 24 09:04:16 UTC 2021


On Sunday, 24 October 2021 at 08:42:54 UTC, Ola Fosheim Grøstad 
wrote:
> 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...

I imagine && and || stem from & and |. You could probably have 
something like "and" and "band", "or" and "bor" but to me that 
doesn't seem as comfortable.


More information about the Digitalmars-d mailing list