Follow

TIL that in `try…catch…finally` block, a return in the `finally` block supersedes a return in the `catch` block (though both are evaluated!).

This example is pulled straight from the manual: 3v4l.org/bVglD

Who knew?!

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!