Hello, World!

Salih Dincer salihdb at hotmail.com
Tue Mar 29 10:12:13 UTC 2022


On Tuesday, 29 March 2022 at 09:29:30 UTC, Stanislav Blinov wrote:
> 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.

Does it matter 😀

SDB at 79



More information about the Digitalmars-d mailing list