MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/ofpgmf/position/h4hf80r/?context=9999
r/badcode • u/Ehere • Jul 07 '21
99 comments sorted by
View all comments
172
no code comment. please add:
{
// sets Position to position
Position = position;
}
-4 u/pango3001 Jul 08 '21 Actually, it's setting position to Position. 9 u/[deleted] Jul 08 '21 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
-4
Actually, it's setting position to Position.
9 u/[deleted] Jul 08 '21 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
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
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
172
u/valschermjager Jul 07 '21 edited Jul 08 '21
no code comment. please add:
{// sets Position to positionPosition = position;}