opDispatch() is pretty damn great
Szymon Gatner
noemail at gmail.com
Wed Jan 8 16:01:59 PST 2014
On Wednesday, 8 January 2014 at 23:46:28 UTC, bearophile wrote:
> 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
Thanks, was not aware, main() was actually generated by VisualD
More information about the Digitalmars-d-learn
mailing list