Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
IceDane
· 4mo ago · 0 comments
Slowly but surely dynamic programming proponents discover the value of statically verifiable correctness. Who'd have thought?
Comments
[–]
lastofus
4mo ago
Snarkiness aside, this is hardly a static type check. This appears to be a runtime argument check, somewhat akin to the following python:
def foo(*, a, b): return a+b
which errors out at runtime if `a` or `b` are omitted, despite being keyword arguments which are usually optional.
[–]
beders
4mo ago
Oh we know. That's why static types are a la carte in Clojure. You can have them if you really really want them.