Feb-01-2020, 01:29 AM
one of the many coding difficulties i encounter in most languages is breaking out of 2 or more nested loops. in C i did have a goto but that was considered bad code. i do recall there was a language that allowed break to have a number (always must be a hard coded literal constant) to specify the number of loop levels to break out of. the usual way is to break out of each level one at a time based on a specific variable or specific value(s). constrained types like bytearray can sometimes force an extra variable.
what coding techniques to do things like this have you come up with?
what coding techniques to do things like this have you come up with?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.