5 ms·
Much ado about nothing. It's a matter of personal taste. An actual ≠ has a low chance to sneak into the source code, even lower chance to somehow type it by han
by cabirum 3y ago
Much ado about nothing. It's a matter of personal taste. An actual ≠ has a low chance to sneak into the source code, even lower chance to somehow type it by hand. Either way, it would be a syntax error highlighted by any editor. I'd like my code to look nice and I accept the risks.
- ggm 3y agoIt's probably fine for you reading your code. It's not impossible it causes others reading your code some confusion when they render it with ligatures or receive eg pdf of it in ligatures, distinct from how it looks when they edit it. Minor issue mostly. I tend to "no", but for no very good reason: Aesthetically they're lovely.
- threatofrain 3y agoOther people reading your code... on your laptop, using your editor? Because on anyone else's computer it's going to be based on their personal viewing preferences. Setting your tab spacing size too large will also make your code unreadable. But only on your computer.
- teo_zero 3y ago> Other people reading your code... on your laptop, using your editor? No, rather in your web page, in the slides that you're projecting, in the paper that you typeset into PDF... The point is not about how you edit your own code. You could even write comments in sanskrit, if they are for your eyes only, but please don't dostribute them!
- ggm 3y agoAs an aside, I have seen literate French perlcode some time ago that had very good French language comments alongside quite normal western variable and function naming, which I suspect was in everyone's interests.
- layer8 3y agoScreen sharing is a thing.
- kazinator 3y agoIt's only a matter of personal taste because it's not statistically examined, so there is no hard evidence in the form of numbers that the yea or nay side could use. If it were properly studied, and it turned out that ligatures have an effect on the rate of mistakes, then one side of the debate would have to concede that though they choose persist in their personal taste, it is in conflict with what is good for their work.
- mpweiher 3y ago> An actual ≠ has a low chance to sneak into the source code, Hmm...my programming language supports ≠ directly ... > even lower chance to somehow type it by hand. ... and my keyboard lets me type it (almost) directly, via Alt-=. I think the author is spot on in that the current state is not the correct end-state, though given path-dependencies it is understandable how we got here.