mithi/react-philosophies

Something I found on linkedin (code smells post)

Closed this issue ยท 0 comments

mithi commented

https://www.linkedin.com/posts/priyadharshan-sekar_webdevelopment-codesmells-javascript-activity-6911899150678704128-WUMI

๐Ÿ“Œ Functions with too much responsibility.

๐Ÿ“Œ Functions with too many parameters.

๐Ÿ“Œ Duplicated code / unused code.

๐Ÿ“Œ Functions/methods are too big.

๐Ÿ“Œ One change requires a change in different places.

๐Ÿ“Œ Heavily coupled to platform-specific details.

๐Ÿ“Œ Dependencies are running on old/obsolete versions.

๐Ÿ“Œ Takes a long time to add a new feature.

๐Ÿ“Œ Taking time to locate a bug.

๐Ÿ“Œ Changing one thing has numerous side effects in other places.

๐Ÿ“Œ Small change requires lots of regression testing or a big deployment.

๐Ÿ“Œ Business logic inside UI.

๐Ÿ“Œ Frequent use of mutation.

๐Ÿ“Œ Poorly written unit tests and it cannot be automated using tests.

๐Ÿ“Œ Code is only understandable by the one who wrote it.

๐Ÿ“Œ Too many external dependencies.

๐Ÿ“Œ Difficult to update libraries/dependencies.

๐Ÿ“Œ Frequently running into race conditions.

๐Ÿ“Œ Code breaks or becomes unresponsive based on third-party service status.

๐Ÿ“Œ No test failing on changing business rules.

๐Ÿ“Œ CI/CD is taking more time. (unit testing, linting, transpiling and bundling)