Probably a spicy take but I think variable scope clarity in programming languages could be improved. bool flag = false; if (foo) { ...many lines... flag=true; } ...many lines... if (flag) { Really, flag just needs to exist in both of those blocks, no the parent block.
0 reposts0 likes