Hello, World!

Salih Dincer salihdb at hotmail.com
Sat Mar 26 04:03:08 UTC 2022


On Friday, 25 March 2022 at 20:07:39 UTC, Anonymous wrote:
> ```d
> void main()
> {
>     import std.stdio : writeln;
>     writeln("Hello, World!\n");
> }
> ```

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


More information about the Digitalmars-d mailing list