Computer scientist with background in chemistry and physics, now working as a java developer. Often knowing about "that thing" and having forgotten the word.
Computer scientist with background in chemistry and physics, now working as a java developer. Often knowing about "that thing" and having forgotten the word.
I don't get the problem with switch case. Can you provide an example?
switch/caseis often abused to express data that should be a map as control flow instead. Then people wonder why their code is so hard to extend.Ok... but if I don't use Python, I can't put everything in a map.
Yes, you can? What programming language doesn't support maps these days?