Semicolon?

Walter Bright newshound2 at digitalmars.com
Thu Apr 1 02:13:19 UTC 2021


On 3/31/2021 2:59 PM, deadalnix wrote:
> On Wednesday, 31 March 2021 at 21:51:07 UTC, Arun wrote:
>> Just curious. Does the compiler need semicolon anymore? Are there corner cases 
>> that don't work without semicolon?
> 
> They aren't strictly needed most of the time, but they do make things much 
> clearer, especially when you have a syntax error.

Yup. They're a form of redundancy like a parity bit is.


More information about the Digitalmars-d mailing list