[DiscordArchive] do we have an official codestyle guideline for table column name formatting?
[DiscordArchive] do we have an official codestyle guideline for table column name formatting?
Archived author: Honey • Posted: 2025-02-04T06:17:26.939000+00:00
Original source
We might need a blame-Shin emoji for that case.
Regardless, I agree separate unit tests are desirable. I gave that a shot years ago in Lua, but it was abandoned rather quickly.
Archived author: walkline • Posted: 2025-02-04T09:19:32.965000+00:00
Original source
I would say it's the only way (but not for every class). Most class dependencies should be abstract, and we should be able to inject a mock implementation. Otherwise, you can't fully test the unit if such dependencies exist. However, I don't like the idea of having huge interfaces like IWorld, it should be split into several smaller interfaces.