Digraphs *and* Unicode pretty-glyphs, for arrows, triangle, etc.

Norbert Lindenberg ecmascript at norbertlindenberg.com
Wed Apr 4 23:54:54 PDT 2012


A few others relevant to EcmaScript:

=== ⩶
!= ≠
!== ≢
... …
! ¬
* ×
/ ÷
Infinity ∞
sqrt √
cbrt ∛
PI π
Intl 🌐 // requires better fonts (http://www.fileformat.info/info/unicode/char/1f310/)

Besides typing, legibility is critical: ⇒, ≥, ≤ are clearly improvements over their ASCII counterparts, but ≠ and ≢ are too hard to tell apart.

Norbert


On Apr 4, 2012, at 22:23 , Brendan Eich wrote:

> From http://www.scala-lang.org/node/4723 (hat tip *Corey Farwell*‏@*frewsxcv* <https://twitter.com/#%21/frewsxcv>
> 
> *
> 
> 
> ):
> 
>  =>   ⇒   // implemented
>  <-  ←   // implemented
>  ->   →   // implemented
>  ==  ⩵
>  >> ≫
>  <<   ≪
>  >>> ⋙
>  >=  ≥
>  <=  ≤
>  ::  ∷
> 
> 
> Corey suggested editors could do the input conversion when users type the digraph. If Scala can go here, why not JS?
> 
> /be
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss



More information about the es-discuss mailing list