Cascadia-code: == ligature

Created on 19 Sep 2019  路  6Comments  路  Source: microsoft/cascadia-code

The distinction between "=" and "==" is quite subtle which could be dangerous for c++ code, maybe a 3 line equals for the "==" ligature could be more appropriate?

Issue-Feature

Most helpful comment

Three line equals already represents triple equals (===) for languages like Javascript.

All 6 comments

Just to illustrate this, here's what = and == look like with Cascadia and Fira Code:

Snipaste_2019-09-19_18-28-33

Snipaste_2019-09-19_18-28-50

@hernancmartinez Please use the voting buttons; commenting +1 e-mails the whole team.

image

Done !

Three line equals already represents triple equals (===) for languages like Javascript.

Maybe thicker bars or something, this just threw me while altering my code I turned an equality check into an assignment and was puzzled by the red squiggle, upon full compile it became obvious what was up but there are circumstances where this particular ligature causes confusion.

It's really hard for me to distinguish the = and == using this font. So I just turn the ligature off. Please do something to fix it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dreamer picture dreamer  路  4Comments

tabatkins picture tabatkins  路  6Comments

DoubleDeez picture DoubleDeez  路  5Comments

schorrm picture schorrm  路  7Comments

AndreaPasqualini picture AndreaPasqualini  路  4Comments