Re:Counting Bugs in Windows Calculator
by taco_emoji on Wednesday March 13, 2019 @12:41PM
(#19380487)
Agree it's not a bug as I assume it's an implementation of the IValueConverter interface: https://docs.microsoft.com/en-us/dotnet/api/system.windows.d...
However since the method bodies are identical, IMO one should have the full implementation and then the other should just call the first. Still not a bug, just a code smell.
This is not a bug. Look how the `BooleanNegationConverter` is used:
Two radio buttons bound to the same boolean value, one with the negation converter. If `fullKeypad` is checked, `IsBitFlipChecked` should be set to false. If `IsBitFlipChecked` is set to true, `fullKeypad.IsChecked` should be set to false. The converter needs to do the same operation in both directions.