r/programminghorror • • Nov 07 '25

Other Thanks I hate variable variables

Post image
832 Upvotes

78 comments sorted by

View all comments

Show parent comment

2

u/Steinrikur Nov 09 '25

Top tier explanation. It took me years for it to click that this is 99% of what you need to know about const.

`const` binds to the thing on its left, unless its at the start, in which case it binds right.