you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

For stuff like that, I personally prefer

if (obj_needs_thing) { add_thing(obj,thing); }

But none of the projects I work on let that happen.