You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would you like to be added/modified:
Separate the logic for different operating systems into independent functions rather than implementing linux and windows compilation in a single function. Suggested approach:
Why is this needed:
Combining the compilation for both Linux and Windows in one function can make future support for more OS variants (like windows-arm) challenging. Too many if branches can degrade code readability. By having dedicated functions for each OS, it simplifies the logic, enhances readability, and provides a more scalable approach for future OS support.
The text was updated successfully, but these errors were encountered:
What would you like to be added/modified:
Separate the logic for different operating systems into independent functions rather than implementing linux and windows compilation in a single function. Suggested approach:
Why is this needed:
Combining the compilation for both Linux and Windows in one function can make future support for more OS variants (like windows-arm) challenging. Too many
if
branches can degrade code readability. By having dedicated functions for each OS, it simplifies the logic, enhances readability, and provides a more scalable approach for future OS support.The text was updated successfully, but these errors were encountered: