Hacker News new | ask | show | jobs
by terminalshort 191 days ago
Simple! Make it an int.

  int cosmic_ray = 0
  if (bool(cosmic_ray)) {
     throw cosmicRayException()
  }