a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment
hogwild  ·  3416 days ago  ·  link  ·    ·  parent  ·  post: Stop Acting So Surprised: How Microaggressions Enforce Stereotypes in Tech

    "If this were in a function, the code would be easier to read."

This is your best option. Code is usually hard to read, and anything you can do to alleviate that is good! If you focus on what you think would be a positive outcome of your advice (without phrasing it to emphasize the current negatives, i.e. that their code is unreadable), then your advice will be less embarrassing to hear and more likely to be followed.