4 ms·
> Since you mention relevance for beginners later on in your post I'd argue this isn't relevant either. Agreed. At the time that variables are introduced, it s
by tom_mellior 5y ago
> Since you mention relevance for beginners later on in your post I'd argue this isn't relevant either.
Agreed. At the time that variables are introduced, it should just say "a variable is a name for a location where a value is stored". I didn't mean to suggest that the tutorial should go into needless detail at that point. Just that the needless detail that it currently goes into is wrong.
> Same with passing variables via stack.
Again, my problem is just with the needless detail. When you pass a value it is copied (that is the relevant part) somewhere where the callee can find it (that somewhere is the irrelevant part).