Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
daveray
· 15y ago · 0 comments
Good stuff. I'm not sure if this is an improvement, but it's a nice piece of trivia... your status range checks can be reduced a bit:
(and (>= status 200) (< status 300))
becomes:
(<= 200 status 299)
Go Clojure.
Comments
[–]
andrewvc
15y ago
Very cool. It's not an easy call, as its esoteric syntax, but I think I'll put it in.