Hacker News new | ask | show | jobs
by gumby 3343 days ago
This isn't really what I thought it would be. I don't want != changed to ≠ because ≠ isn't a C++ operator.

What I thought would be true ligatures ("tying together") of "&&" which could still be recognized as a pair of ampersands, but by being conjoined cleanly appear to be symbol in their own right, which is what "&&" is.

However part of the value of ligatures is symbol tightness, which is defeated by the need for a monospaced font.

Still, I'm glad people are experimenting!

1 comments

>I don't want != changed to ≠ because ≠ isn't a C++ operator.

A colored != is not a C++ operator either. It's about getting our minds to differentiate symbols faster, not about whether they exist as is in some language's syntax.

Indeed, I program with syntax coloring disabled for this reason.
Then maybe program directly in C++ AST. != will be converted to that too.