I have 10 checkboxes. I need to execute a method on each of them. Should I use an array and a for loop to execute the method or would it be better to just execute the method in code for each one (method(checkbox1); method(checkbox2); method(checkbox3); etc..)
Which would be better programming practices? The loop would use more lines of code...
...
Go to the complete details ...