5 ms·
I'm sorry, but what?
by bruce343434 5y ago
I'm sorry, but what?
- filoleg 5y agoThey have been coding for quite a while and are saying that they still look up the syntax for case/switch statements, because they cannot remember it off the top of their head. I am in the exact same boat, except with about a third of their experience coding.
- b9a2cab5 5y agoI 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.