Object.seal, read references, and code reliability

T.J. Crowder tj.crowder at farsightsoftware.com
Tue Aug 15 06:11:40 UTC 2017

On Mon, Aug 14, 2017 at 5:32 PM, Alex Kodat <akodat at rocketsoftware.com>
> We’ve found Object.seal to be a huge aid in improving programmer
> productivity by catching coding errors early and preventing
> people from intentionally or unintentionally adding properties
> to objects outside the constructor.

Bob raised this but no one's actually said the name and you didn't mention
it, so: If you haven't already, you might look into [TypeScript](
http://typescriptlang.org), which does these things at compile time via
type declarations (or with IDE support, even earlier). At least
until/unless this idea goes somewhere. Your team seem to want the kind of
constraints it puts on you.

-- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170815/158ef7c8/attachment.html>

More information about the es-discuss mailing list