Submitted by Dacadey t3_z89cro in explainlikeimfive
Mike2220 t1_iyc605t wrote
Reply to comment by Sloloem in ELI5: why is using "goto" considered to be a bad practice in programming? by Dacadey
>And without another GOTO to send you back to where you left off, you'll just keep going from wherever you ended up until the program exits or crashes.
jal
and jr
have entered the chat
[deleted] t1_iyc7yj4 wrote
[removed]
Sloloem t1_iyebsgt wrote
Man I am not gonna throw down with an assembly programmer. They scare me a little, flying so close to the sun.
Mike2220 t1_iyehm15 wrote
I needed to learn it for a few classes
It was a time
Sloloem t1_iyes9ij wrote
Heh. I graduated in 2009 and we still had some assembly in my degree program. It wasn't even being taught in a specific CPU's assembly language at that point, they had invented some assembly-like language to teach us about registers, bitmath, and jumps but it was actually interpreted by a Java CLI tool that produced the output.
I think it was just there to teach us how good we have it working at higher levels of abstraction.
Mike2220 t1_iyezgz8 wrote
Oh we had to do stuff with MIPS on one of those development boards
Took like 10 tries to actually upload the program to it even if your code worked, it sucked
Viewing a single comment thread. View all comments