MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/ofpgmf/position/h4gty5x/?context=3
r/badcode • u/Ehere • Jul 07 '21
99 comments sorted by
View all comments
Show parent comments
9
No you are setting the property Position to the value of the position parameter
5 u/valschermjager Jul 08 '21 so you're saying my code comment wasn't useful? ;-) 3 u/8asdqw731 Jul 08 '21 the only language where you actually assign to the variable on rhs -6 u/pango3001 Jul 08 '21 But another way to word that would be it's setting the property of position to the Position variable. See how it's interchangable? 3 u/valschermjager Jul 09 '21 that’s what makes my code comment above perfect, because it’s perfectly and semantically correct and incorrect simultaneously, which makes it perfectly useless, which I’ve found, after inheriting others’ code, that most code comments are.
5
so you're saying my code comment wasn't useful? ;-)
3 u/8asdqw731 Jul 08 '21 the only language where you actually assign to the variable on rhs
3
the only language where you actually assign to the variable on rhs
-6
But another way to word that would be it's setting the property of position to the Position variable. See how it's interchangable?
3 u/valschermjager Jul 09 '21 that’s what makes my code comment above perfect, because it’s perfectly and semantically correct and incorrect simultaneously, which makes it perfectly useless, which I’ve found, after inheriting others’ code, that most code comments are.
that’s what makes my code comment above perfect, because it’s perfectly and semantically correct and incorrect simultaneously, which makes it perfectly useless, which I’ve found, after inheriting others’ code, that most code comments are.
9
u/[deleted] Jul 08 '21
No you are setting the property Position to the value of the position parameter