theneverfox

@theneverfox@pawb.social · Joined ⁨Jun⁩ ⁨2023⁩

Replying to @⁨Armand1@lemmy.world⁩

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