pikelet icon indicating copy to clipboard operation
pikelet copied to clipboard

Figure out a strategy for handling common (usually ignored) errors

Open brendanzab opened this issue 6 years ago • 0 comments

Here are some common errors that are often ignored, but would be nice to be able to avoid either statically or ensure they are accounted for at runtime:

  • Out of memory errors
  • Integer overflow/underflow (ranged integers?)
  • Divide by zero
  • Loss of numerical precision
  • Units of measure mismatches (compile time units of measure lib?)
  • Index out of bounds (track array/matrix dimensions at the type level?)

brendanzab avatar Apr 08 '18 04:04 brendanzab