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
TenKey_Flick.qml and others make heavy use of the ?-operators that make the code difficult to maintain. Usually when the code relies too much on if-else kind of structures, it is doing something inefficiently. Moreover, the ?-operator can actually make it even harder to read than a regular if-else structure. I suggest we find a proper solution for this.
For the TenKey text label for instance we probably only need 3 or 4 different modes and they could be combined somehow more conveniently. Perhaps set up boolean values for each case that get updated when certain conditions are met. They could be hooked up with signals and slots if needed.
The text was updated successfully, but these errors were encountered:
TenKey_Flick.qml and others make heavy use of the ?-operators that make the code difficult to maintain. Usually when the code relies too much on if-else kind of structures, it is doing something inefficiently. Moreover, the ?-operator can actually make it even harder to read than a regular if-else structure. I suggest we find a proper solution for this.
For the TenKey text label for instance we probably only need 3 or 4 different modes and they could be combined somehow more conveniently. Perhaps set up boolean values for each case that get updated when certain conditions are met. They could be hooked up with signals and slots if needed.
The text was updated successfully, but these errors were encountered: