this post was submitted on 25 Apr 2024
432 points (94.8% liked)

Programmer Humor

32588 readers
1079 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Daxtron2@startrek.website 21 points 7 months ago (4 children)

Well yeah, if you passed a reference then once the original is destroyed it would be null. The real trick is to make a copy and destroy the original reference at the same time, that way it never knows it wasn't the original.

[–] nialv7@lemmy.world 5 points 7 months ago (1 children)
[–] Daxtron2@startrek.website 5 points 7 months ago

get your std away from me sir

load more comments (2 replies)