Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Coincidentally was reviewing code yesterday that had a confusing/contradictory statement..

  error_msg = "xyz went wrong"
  log.warn(error_msg)
My comment on the CR was about this being an inherent contradiction and incredibly confusing to know if it's actually an error or a warning..




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: