Closed pixelzoom closed 5 months ago
... unless it might use dispose in the future?
Yes, I see this in package.json:
"forbiddenTextObjects": [
"dispose"
]
@matthew-blackman let's discuss this
It would probably be OK if you noted this non-complicance in implementation-notes.md, along with how/why you're using "forbiddenTextObjects". I don't see a lot of value in retroactively adding isDisposable: false
.
Thanks, @matthew-blackman and I agreed to document this as prescribed above. Closing.
For code review #32 ...
implementation-notes.md says:
... so presumably nothing needs to be disposed, and I can confirm that I see no calls to
dispose
.But this sim is technically not in complicance with this CRC item:
I see only 3 occurrences of (a) and zero occurrences of (b) in the entire code base.
Imo, this CRC item is essential in common code or in a sim that disposes some things, but not others. It's less important in a sim like this that disposes of nothing -- unless it might use dispose in the future? So... Up to you whether to do anything here.