top | item 32573175

(no title)

_vdpp | 3 years ago

I’ve wondered if it would be useful to have formatting/highlighting be part of the language rather than something determined after the fact, for example italicized vars could be immutable, bold for shared, have literal “function colors” to indicate asynchronous or functions callable from non-main threads, stuff like that.

I haven’t really thought it through, but maybe the idea sparks somebody’s imagination out there.

discuss

order

mr_toad|3 years ago

We have enough conflict about the best case of tokens. I think any attempt to prescribe the colour of tokens would lead to all out war.