3 ms·
And then there's a language like Scala where switch/case is so naturally integrated that it actually becomes the cleaner solution and you basically have to use
by mcv 5y ago
And then there's a language like Scala where switch/case is so naturally integrated that it actually becomes the cleaner solution and you basically have to use it.
Whatever approach is clean or not can vary wildly by language. Or framework.
I do like clean code, but I think the article has a point: it's a very vague concept.