mode integers should be enums/enum classes #699
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
My pet peeve in the code base is how magic integers are used to specify the 'mode' of different functions. When you're reading the code, you have no idea what passing a 1 or a 0 to a function actually means. They should be enum values describing what the modes are.
079021c shows an example of how I want to refactor these for readability.