dixx / Die_Chroniken_eines_namenlosen_Spiels

We develop a game just for the sake of learning how to do it. Okay, maybe it's more developing a game engine and using a game as its integration test. We have no real goal besides the learning experience.
Other
1 stars 1 forks source link

Refactor leviathan.gui.MousePointerControl::createMousePointer(uint32_t, path, recti, vector2di) #147

Closed dixx closed 3 years ago

dixx commented 3 years ago

I've selected leviathan.gui.MousePointerControl::createMousePointer(uint32_t, path, recti, vector2di) for refactoring, which is a unit of 18 lines of code and 4 parameters. Addressing this will make our codebase more maintainable and improve Better Code Hub's Keep Unit Interfaces Small guideline rating! 👍

Here's the gist of this guideline:

You can find more info about this guideline in Building Maintainable Software. 📖


ℹ️ To know how many other refactoring candidates need addressing to get a guideline compliant, select some by clicking on the 🔲 next to them. The risk profile below the candidates signals (✅) when it's enough! 🏁


Good luck and happy coding! :shipit: :sparkles: :100:

dixx commented 3 years ago

Let's keep this for now, and do the argument count violations all together when we have a plan what we want to achieve and why, and of course how.