Re:Law of Demeter and immutability
by douche on Friday September 30, 2016 @12:37PM
(#12613525)
If it's C#, you could also make Position be a struct that can't be null. Generally things like Points and Vectors are structs anyway in a lot of cases for performance reasons.
[ Parent
| on HN ]
There are no comments on this comment yet.