3 ms·
What’s nice about the current approach is that it is explicitly stated at the point of the variable declaration, and not hidden away in some far off place. Als
by numbsafari 5y ago
What’s nice about the current approach is that it is explicitly stated at the point of the variable declaration, and not hidden away in some far off place.
Also, it doesn’t require you to import a package, it’s completely orthogonal to the consumer of the code. They can opt in if they want, others aren’t forced to import anything.