Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
wstrange
8y ago
0 comments
Save
Share
If you are going to add a bunch of asserts, why not just use types?
0 comments
1 comments · 1 top-level
top
newest
oldest
crdoconnor
8y ago
I don't particularly see the need to extend this approach to every single variable in my code base. I usually just stick it on boundary code.
j
/
k
navigate · click thread line to collapse