preslavrachev,
@preslavrachev@mastodon.social avatar

@anze3db yeah, yeah - same in Java. If you use a framework like Spring or Quarkus, there is usually a dedicated catch-all exception handler. However, the problem with those is that they are very generic and until the an exception bubbles up, it may traverse 100s of methods. This makes debugging a real pain.

The other point you raise is even more valid - how can anyone write safe code expecting that something would run all the time and not ever throw an exception or error?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • provamag3
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines