Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dzorz
· 15y ago · 0 comments
Actually you can't overload && although you can overload &.
Comments
[–]
beagle3
15y ago
You can overload &&. You just can't make it short circuit like the default is.
[–]
dzorz
OP
15y ago
Wow, that is amazing. I honestly never tried that and assumed (because of short circuiting) that it can't be overloaded.