re: Are global variables bad? VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION

Maybe such simple blanket statements are okay for people just learning programmingm, but I'd expect my junior programmers to know at least some of the depth behind it.

Indeed, I'm tempted to make this an interview question. Are global variables bad? If a junior programmer can't give a sensible answer, either way, or neutral, and explain the reasons I honestly think they are underqualified.

code of conduct - report abuse