Worst ideas/features in programming languages?

ClapTrap clap at trap.com
Mon Oct 25 12:00:09 UTC 2021


On Monday, 25 October 2021 at 10:01:35 UTC, Guillaume Piolat 
wrote:
> On Sunday, 24 October 2021 at 08:42:54 UTC, Ola Fosheim Grøstad 
> wrote:
>> 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...
>
> Like genetic random drift, those boolean operators are mostly 
> because C won over Pascal.
> The boolean operators in Pascal and Ada are more readable in my 
> opinion.
> So I guess the majority of people in the native just never 
> experienced those other operators.

Pascal has shr, shl, begin, end, maybe other wordy stuff, where 
do you draw the line? Or rather where do you write "line"? :)




More information about the Digitalmars-d mailing list