Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
markmark
· 8y ago · 0 comments
When using a dynamic language you need to know what properties are on an object right? So you can work with them, access them, whatever. So just write it down so everyone else knows too. There, that was easy.
Comments
[–]
wtetzner
8y ago
If that’s the case, then why not have the compiler check them as well?
[–]
markmark
OP
8y ago
Yes, that's exactly my point. Right them down in your program so that the compiler can check them rather than holding them in your head.
[–]
wtetzner
8y ago
Sorry, I misunderstood your comment.