Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
wstrange
8y ago
0 comments
Share
If you are going to add a bunch of asserts, why not just use types?
0 comments
default
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