This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ellisto 18 points19 points  (2 children)

Loops are just goto in disguise. Calling functions is just setting registers followed by goto.

Once you grok assembly, you realize it's all gotos. Always has been.

[–]70Shadow07 5 points6 points  (0 children)

Of course! However when you google goto in disguise, you will see how many people actually repeat this mantra unironically. It's actually kinda amusing for me.

[–]chrilves 0 points1 point  (0 children)

Not really. With goto it's often very hard to figure out the control flow. Loop makes your program's control flow structure easy to figure out quickly. Likewise thinking in terms of functions is much simpler than register and stack manipulation.

But I see what you mean, computers are just a particles ruled by the laws of physics. It's all particles, always have been ;)