▲ | muzani 13 hours ago | |
Repeated code. Like SingleFormDialog() and SimpleDialog(). PositiveButton() and PrimaryButton(). Humans do this, but only when different people wrote the classes. Tests that are not connected to anything. You'll have FooTest but it's all mocks, never connect to Foo. My favorite was something like Assert('this function is able to destroy a planet') which returns true as just because it asserted a string. Comments as signboards where to go next. Really specific comments like `Alice function has been moved to RepositoryAlice`. Especially things that nobody would ever ask about. |