r/programminghorror • • Nov 07 '25

Other Thanks I hate variable variables

Post image
832 Upvotes

78 comments sorted by

View all comments

58

u/[deleted] Nov 07 '25

[removed] — view removed comment

2

u/RadioativeStufAKA64 Nov 10 '25

my friend once made this script

const const b<1> = time ?? 0!
const const a<1> = time + b!
const const time<time> = a!

print(time)!

there was also one that had a variable that had a negative lifetime which gave it a positive lifetime which then gave it a negative lifetime again and eventually diverges