37
Name before type: why 'age int' is better than 'int age'
(benhoyt.com)
This is a most excellent place for technology news and articles.
What you're saying is more consistent, but I don't think it's more readable
I'm fine with let or var...if the compiler is going to infer the type thats all well and good. But it's a replacement for the type - why would you write both? It should be either or
And if the type is being inferred, the next thing I want to know is where it came from. That tells you the type and more, I don't want to have to see a type name that may or may not be there