Settings

Theme

Ask HN: Why there are no new symbols being created, like one for concatenation

3 points by mihemihe 6 years ago · 3 comments · 1 min read


As an example, plus(+) symbol is used in several programming languages for string concatenation, provoking some unexpected behaviors in some cases. One example that illustrates this is: 5 + 1 = 51, but 5 - 1 = 4 (my intention is not to discuss about whether this is right or wrong)

Why no one is creating and proposing new symbols to fix these inconsistencies? I have the impression that our keyboards got stuck decades ago and only new currency symbols made to the keyboards (like the Euro symbol)

Regards

db48x 6 years ago

Check out APL. For a more modern take, try Perl 6.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection