4 ms·
I would definitely ding someone and think less of them if they claimed to be a senior engineer but couldn't remember how to write a switch statement in Java/C++
by b9a2cab5 5y ago
I would definitely ding someone and think less of them if they claimed to be a senior engineer but couldn't remember how to write a switch statement in Java/C++. If you have to look things up you work slower and you don't understand nuances of e.g. what types can be used in switch statements in what language which limits your design skills.
- Akronymus 5y agoDo cases fall through? Do I need to have them sequential? Can I put additional conditions on it? What if I have a case multiple times? There is a surprising amount of complexity behind switch/case.