3 ms·
Type inference has been a fantastic blessing for me in C#, so I'll never complain about having to type locals... by extension, implicitly-typed privates seems t
by Pxtl 12y ago
Type inference has been a fantastic blessing for me in C#, so I'll never complain about having to type locals... by extension, implicitly-typed privates seems to make sense. But the public interface of a class? That just feels one step too far.
- MichaelGG 12y agoWhat if it's a private interface, like a local function? Or a public interface with limited consumers? The language should allow you to write your code the way you want. Requiring pointless verbosity on some hope that somehow that'll help bad programmers write better code seems like an odd conclusion.