anaselgarhy / beautiful-terminal

A fully customizable, intelligent terminal emulator (Under development 💻) - محاكي للمحطة الطرفية ذكي وقابل للتخصيص بشكل كامل
https://anas-elgarhy.github.io/beautiful-terminal
GNU General Public License v3.0
3 stars 0 forks source link

Refactor Functions.getResult(Process,Os) #4

Closed 0x61nas closed 2 years ago

0x61nas commented 2 years ago

I've selected Functions.getResult(Process,Os) for refactoring, which is a unit of 17 lines of code. Addressing this will make our codebase more maintainable and improve Better Code Hub's Write Short Units of Code 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: