Hello, World!

FeepingCreature feepingcreature at gmail.com
Mon Mar 28 05:23:22 UTC 2022


On Saturday, 26 March 2022 at 04:03:08 UTC, Salih Dincer wrote:
> Thank you...
>
> I think this is a work of art.  Just like the banana work that 
> was attached to the wall with duct tape, which Italian sculptor 
> Maurizio Cattelan called "Comedy".
>
> Also, the end-of-line character is needed.  In this way, there 
> is the same number of characters as the line above. But I like 
> this more:
>
> ```d
>      void main()
>      {
>           import std.stdio : writefln;
>           "Hello".writefln!"%s, World!";
>      }
> ```
>
> Because it's functional...
>
> SDB at 79

Throwing my hat in the ring:

```d
import std.stdio;
int main()
     => "Hello World".puts;
```



More information about the Digitalmars-d mailing list