avatar
Alice ✨ @welltypedwit.ch

arguably, panic! could also expand to that couldn't it?

aug 27, 2025, 10:11 pm • 4 0

Replies

avatar
barrett ✨ @barretts.club

wait. this would be kinda perfect

aug 28, 2025, 2:00 pm • 2 0 • view
avatar
waffle @wffl.ihatereality.space

in what way?

aug 28, 2025, 2:41 pm • 2 0 • view
avatar
barrett ✨ @barretts.club

Panics are "unexpected" and, when they occur, we're going to unwind and be slow anyway! In most cases, I think marking it as the "cold path" would be a good default

aug 28, 2025, 2:52 pm • 3 0 • view
avatar
waffle @wffl.ihatereality.space

yea..

aug 28, 2025, 3:23 pm • 2 0 • view
avatar
waffle @wffl.ihatereality.space

yeah, I thought about it after posting my skeet, ur right ^^'

aug 27, 2025, 11:25 pm • 1 0 • view
avatar
least informed nerd @leastinformednerd.bsky.social

maybe? I know some people reuse its unwinding mechanism for more general exceptions, but they could very well be using a lower level mechanism than panic! (and I don't know if there's any stability guarantees that prevent that)

aug 27, 2025, 10:27 pm • 3 0 • view