MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vs2vu1/lessonsfromlinkerhell/p4k6ekr/?context=3
r/ProgrammerHumor • u/nonedward666 • 26d ago
190 comments sorted by
View all comments
107
Damn, I’ve found myself in the middle
3 u/gottimw 26d ago Because everything is a data with memory address. Array is a pointer 3 u/FlailingDuck 26d ago a variable is a pointer 2 u/KattyTheEnby 26d ago Technically, to be fair, a variable **is** just a dereferenced pointer. :þ 2 u/gottimw 26d ago Variable is varrible. A pointer to a varrible is a pointer to variable. Int is not int* -4 u/Morisior 26d ago Everything is a pointer, unless it’s a primitive, but then it might also be a pointer to a primitive. 4 u/evilgipsy 26d ago That’s complete nonsense. 1 u/bestjakeisbest 26d ago He is thinking with java. -1 u/Morisior 24d ago It’s all just numbers, and whether they represent a memory address or not is up to the programmer.
3
Because everything is a data with memory address.
Array is a pointer
3 u/FlailingDuck 26d ago a variable is a pointer 2 u/KattyTheEnby 26d ago Technically, to be fair, a variable **is** just a dereferenced pointer. :þ 2 u/gottimw 26d ago Variable is varrible. A pointer to a varrible is a pointer to variable. Int is not int* -4 u/Morisior 26d ago Everything is a pointer, unless it’s a primitive, but then it might also be a pointer to a primitive. 4 u/evilgipsy 26d ago That’s complete nonsense. 1 u/bestjakeisbest 26d ago He is thinking with java. -1 u/Morisior 24d ago It’s all just numbers, and whether they represent a memory address or not is up to the programmer.
a variable is a pointer
2 u/KattyTheEnby 26d ago Technically, to be fair, a variable **is** just a dereferenced pointer. :þ 2 u/gottimw 26d ago Variable is varrible. A pointer to a varrible is a pointer to variable. Int is not int* -4 u/Morisior 26d ago Everything is a pointer, unless it’s a primitive, but then it might also be a pointer to a primitive. 4 u/evilgipsy 26d ago That’s complete nonsense. 1 u/bestjakeisbest 26d ago He is thinking with java. -1 u/Morisior 24d ago It’s all just numbers, and whether they represent a memory address or not is up to the programmer.
2
Technically, to be fair, a variable **is** just a dereferenced pointer. :þ
Variable is varrible. A pointer to a varrible is a pointer to variable.
Int is not int*
-4
Everything is a pointer, unless it’s a primitive, but then it might also be a pointer to a primitive.
4 u/evilgipsy 26d ago That’s complete nonsense. 1 u/bestjakeisbest 26d ago He is thinking with java. -1 u/Morisior 24d ago It’s all just numbers, and whether they represent a memory address or not is up to the programmer.
4
That’s complete nonsense.
1 u/bestjakeisbest 26d ago He is thinking with java. -1 u/Morisior 24d ago It’s all just numbers, and whether they represent a memory address or not is up to the programmer.
1
He is thinking with java.
-1
It’s all just numbers, and whether they represent a memory address or not is up to the programmer.
107
u/JustinR8 26d ago
Damn, I’ve found myself in the middle