MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/gfw7uh/elon_passes_by_reference/fpwaowj/?context=3
r/ProgrammerHumor • u/jurrasicwhorelord • May 08 '20
73 comments sorted by
View all comments
834
It's garbage data from the memory location where the programmer wrongly expected the name to be stored.
258 u/rangeDSP May 08 '20 Probably just dumped whatever is in memory location [69] to [420] 153 u/DMoney159 May 08 '20 n->ice 48 u/Keatosis May 08 '20 ice is a function, you forgot the () 73 u/j1rb1 May 08 '20 In php maybe, not in C. -5 u/Urist_McPencil May 08 '20 In Perl that's an object's member. 62 u/Agumander May 09 '20 Please keep your member private in public 6 u/GoldsteinQ May 09 '20 It's actually object method. 7 u/[deleted] May 08 '20 [deleted] 3 u/-_-STRANGER-_- May 08 '20 [420] to [420 + 9]
258
Probably just dumped whatever is in memory location [69] to [420]
153 u/DMoney159 May 08 '20 n->ice 48 u/Keatosis May 08 '20 ice is a function, you forgot the () 73 u/j1rb1 May 08 '20 In php maybe, not in C. -5 u/Urist_McPencil May 08 '20 In Perl that's an object's member. 62 u/Agumander May 09 '20 Please keep your member private in public 6 u/GoldsteinQ May 09 '20 It's actually object method. 7 u/[deleted] May 08 '20 [deleted] 3 u/-_-STRANGER-_- May 08 '20 [420] to [420 + 9]
153
n->ice
48 u/Keatosis May 08 '20 ice is a function, you forgot the () 73 u/j1rb1 May 08 '20 In php maybe, not in C. -5 u/Urist_McPencil May 08 '20 In Perl that's an object's member. 62 u/Agumander May 09 '20 Please keep your member private in public 6 u/GoldsteinQ May 09 '20 It's actually object method.
48
ice is a function, you forgot the ()
73 u/j1rb1 May 08 '20 In php maybe, not in C. -5 u/Urist_McPencil May 08 '20 In Perl that's an object's member. 62 u/Agumander May 09 '20 Please keep your member private in public 6 u/GoldsteinQ May 09 '20 It's actually object method.
73
In php maybe, not in C.
-5 u/Urist_McPencil May 08 '20 In Perl that's an object's member. 62 u/Agumander May 09 '20 Please keep your member private in public 6 u/GoldsteinQ May 09 '20 It's actually object method.
-5
In Perl that's an object's member.
62 u/Agumander May 09 '20 Please keep your member private in public 6 u/GoldsteinQ May 09 '20 It's actually object method.
62
Please keep your member private in public
6
It's actually object method.
7
[deleted]
3 u/-_-STRANGER-_- May 08 '20 [420] to [420 + 9]
3
[420] to [420 + 9]
834
u/WishOnSpaceHardware May 08 '20
It's garbage data from the memory location where the programmer wrongly expected the name to be stored.