2 ms·
I run into the same thing with Java. Code that always upsets me is something like `Map<String, Object>` where a concrete type would work so much better (and fa
by cogman10 6y ago
I run into the same thing with Java.
Code that always upsets me is something like `Map<String, Object>` where a concrete type would work so much better (and faster).
Using a statically typed language, the most important thing you can do is USE IT. Let the type system save you from problems. Encode whatever you can in the types.
Bypassing it by casting always causes headaches.