0

Bad practices?

I've heard about goto, but are break and continue considered bad practices as well?

31st Dec 2016, 7:13 AM
Maha Khan
Maha Khan - avatar
1 Resposta
+ 2
You shouldn't concern yourself too much over these kinds of things. The main reason goto is considered a bad practice, is that it messes the flow of the code, making for some confusing code. As for break, and continue, they aren't really big issues, but you should definitely take care when using them.
31st Dec 2016, 7:24 AM
Dao
Dao - avatar