re: What's the Worst Code You've Ever Seen or Written? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I teach a Java class, and students often gravitate toward strings because of their functionality. Why try to get the third digit from a number usin...
 

Yeah, if they were actually doing something with the string, I wouldn’t have a problem. But converting it to use in a switch statement is absolutely horrible.

code of conduct - report abuse