Semicolons: mostly unnecessary?

bearophile bearophileHUGS at lycos.com
Fri Oct 23 10:41:40 PDT 2009


Yigal Chripun:

> The trade-off here is obvious: if you use line continuations like in 
> python they would be very rare but would not be automatic and consistent 
> when you do need to use them.

In my Python code (or in good code you may find around, like in some modules of the std library) you may have a hard time finding few line continuations. Generally you can avoid them putting code in parentheses. And if/when you want to use them it's simple. So I think you are wrong.

Bye,
bearophile



More information about the Digitalmars-d mailing list