3 ms·
So a typechecker which can infer types so well that it feels almost dynamic but is in fact static, like Ocaml (vs something like c# where I have to write type s
by tluyben2 6y ago
So a typechecker which can infer types so well that it feels almost dynamic but is in fact static, like Ocaml (vs something like c# where I have to write type signatures which are completely obvious to infer).
- Mountain_Skies 6y agoThat depends on the version of c#. MyObject obj = new MyObject(); can also be expressed as var obj = new MyObject(); or MyObject obj = new(); Neither of these were possible in early versions of c# but both are there now.