Unverified Commit 1ce770d9 authored by Eddie Antonio Santos's avatar Eddie Antonio Santos
Browse files

Add a few readonly declarations.

All consumers of these APIs compile with the current set of readonly properties. It's best to make the interfaces as strict as possible right now, for a few reasons:

 1) When I get objects of a particular interface, I don't expect its properties to change. Mutability is harder to reason about than immutability.
 2) Open-closed principle: it's easier to move from a restrictive declaration to a less restrictive declaration than the other way around.
parent b9398749
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment