Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
IceDane
29 days ago
|
parent
|
context
|
favorite
| on:
Clojure 1.13 adds support for checked keys
Slowly but surely dynamic programming proponents discover the value of statically verifiable correctness. Who'd have thought?
lastofus
29 days ago
|
next
[–]
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
29 days ago
|
prev
[–]
Oh we know. That's why static types are a la carte in Clojure. You can have them if you really really want them.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: