opDispatch() is pretty damn great

bearophile bearophileHUGS at lycos.com
Wed Jan 8 15:46:27 PST 2014


Szymon Gatner:

Two small improvements in your code:

>     writeln("Base : " ~ text);

=>

      writeln("Base : ", text);


> int main(string[] argv)
> {
> ...
>   return 0;
> }

=>

> void main(string[] argv)
> {
> ...
> }

Or even:

> void main()
> {
> ...
> }

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list