471
COMEFROM (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] Cethin@lemmy.zip 5 points 4 months ago

A function will be called by code and go to that point in code. To implement functions, you store necessary things to memory and goto the function definition. To implement that with comefrom you'd have to have a list of all the places that need to call the function as comefroms before the function definition. It'd be a mess to read. We almost never care where we are coming from. We care where we're going to. We want to say "call function foo" not "foo takes control at line x."

this post was submitted on 21 Jun 2024
471 points (98.6% liked)

Programmer Humor

19564 readers
891 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS