Hello, World!

Stanislav Blinov stanislav.blinov at gmail.com
Tue Mar 29 09:29:30 UTC 2022


On Tuesday, 29 March 2022 at 09:25:56 UTC, Salih Dincer wrote:
> On Tuesday, 29 March 2022 at 07:25:57 UTC, Max Samukha wrote:
>>
>> Or simply
>> ```d
>> int main() => "Hello World".puts < 0;
>> ```
> For starters, I'd like to point out that it's essentially the 
> same as this:
> ```d
> import std.stdio;
> //int main() => "Hello World".puts < 0;/*
> int main() {
> 	"Hello World".puts;
> 	return 0;
> }//*/
> ```

No. Your variant loses error status and always reports success.


More information about the Digitalmars-d mailing list