4 ms·
That won't be a problem in SoundScript though, because any code which tries to access a property which might be missing is unsound, so it won't "compile" (or ra
by jahewson 12y ago
That won't be a problem in SoundScript though, because any code which tries to access a property which might be missing is unsound, so it won't "compile" (or rather, it won't pass the type checker).
- barrkel 12y agoIn order for this to work, the type needs to be statically known, which in turn means type casts would be required when asserting a downcast. Javascript littered with casts is nothing I want to see. I don't know about you.