Well in z80 assembly, I think most of the time you use stuff like Gotos to jump elsewhere in RAM. I recommend being careful when using Goto in high level languages, though, because when used in large scale the program can become messy pretty fast (and hard to read).