3 ms·
> Another annoying part is the lack of anonymous return types, which makes some types annoying to read or even impossible to express Out of curiosity, impossib
by azth 11y ago
> Another annoying part is the lack of anonymous return types, which makes some types annoying to read or even impossible to express
Out of curiosity, impossible to express how? Can't one just store the return value in a variable, investigate its type, then copy-paste that as the function return type?
- Manishearth 11y ago"Annoying to read" can be solved with typedefs, but there are types impossible to express. At the moment I think closures are impossible to express as named types.