Archive link: https://archive.ph/NaK7K

you are viewing a single comment's thread
view the rest of the comments
[–] 8 points 2 months ago (1 child)

There are many C++ features that make the language worse. Exceptions is one of them. It's not strange to have them banned.

Critical systems often only allow you to use a subset of the language. Dynamic (heap) allocations, recursive functions, exceptions are features that are often banned. In medical devices, safety is critical, so it makes sense. Otherwise you could get a Therac-like scenario due to an unhandled exception.

  • source
  • parent
  • hideshow 2 child comments