Re:Read this post ‘unless’ you’re not a Ruby developer
by 0x457 on Tuesday December 13, 2022 @01:19PM
(#33973294)
hmm, you're doing `unless` with `!` in condition you're doing it wrong.
IMO better than `if !user.has_errors?`, at least for me: I will read it as "unless" in my head even in languages that only have `if`. You know what? I will just start using `unless` even harder, I will even make a rust macro for that.
[ Parent
| on HN ]
There are no comments on this comment yet.