logoalt Hacker News

terminalshortlast Saturday at 1:40 AM0 repliesview on HN

Simple! Make it an int.

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