@da I would expect it to apply to the whole condition. I don't think the other way makes sense in order of precedence. You couldn't write `(if !a) && b { ... }` so I wouldn't expect unless to work like that.

In languages with () around the condition it is even more obvious as it would be `unless (a || b)`

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!