For fun, and executable lame joke

btiffin btiffin at myopera.com
Mon May 31 03:44:15 UTC 2021


Here's the short version

`["hip", "hip"]`  the hip hip array (or hooray as suits the lame 
joke).

Here's some executable code

```d
void array(string[] a) {
    import std.stdio : writeln;
    foreach(t; a) writeln(t);
}
void main() { D(); }

void
    D() { ["hip", "hip"].array; }
```

Is there a way to make that less codey, more jokey, *but still 
compile and execute the hip hip array*?

Have good,
Blue


More information about the Digitalmars-d-learn mailing list