Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ufmace
on Dec 13, 2022
|
parent
|
context
|
favorite
| on:
Read this post ‘unless’ you’re not a Ruby develope...
I agree with this - I always found the single ! in conditionals to be too easy for your eyes to slide past and miss. Using `unless` makes it jump out harder that you're only doing the thing if the condition is `false`.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: