Rant after trying Rust a bit

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 23 12:20:14 PDT 2015


On 2015-07-23 15:30, Andrei Alexandrescu wrote:

> 1. Inferring function return types when everything is an expression
> (i.e. last expression there is the return type) may yield WAT results.

I have not had that problem with Scala. Either I want to return some 
thing and let it be inferred, or I don't and declare it as Unit (void).

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list