4 ms·
There is nothing "high cognitive load" about having different operators for addition and concatenation. I think it's simpler.
by Dylan16807 11y ago
There is nothing "high cognitive load" about having different operators for addition and concatenation.
I think it's simpler.
- ionforce 11y agoWho "adds two strings"? You're 1) converting the strings to ints 2) adding the ints. The possibility of confusion is the part that is already complex.
- nikatwork 11y ago> Who "adds two strings"? $timeText = $systemHours . ':' . $systemMinutes; vs $durationTimer = $userInputHours + 1; There ya go.