<Invalid Character> is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

if "pure code" calls error but is never lifted into IO does it really throw an exception?

the one reply i got to that on 🐦 is unsatisfying: sure the error message that prints to the terminal *isn't* the exception, but how are you running pure code such that it *can* throw without invoking IO?

this is a stupid question, i guess, and it doesn't matter, except now i think i understand what my uncle meant when he i started learning programming and he told me, "baby, you never get out of I/O"

<Invalid Character> @RaySir

@argumatronic This of it this way:
x= 7/0
will throw an exception in most languages, no IO needed.

· Web · 0 · 0