Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Bed - maybe.
More like a good font.
Seriously, people underestimate the importance of a good font.
Get used to using a good font, and never even confuse 0 with O, I with l, etc. -
bdriesen6797y@AndSoWeCode True, but I wasn't even spotting the issue in the Google Chrome console (inspect element) and that's a font that is actually very readable ;) so the problem was really sitting between screen and keyboard :D
-
@lemnisc8 ligatures make it hard to edit code. You might not realize that fast and effortlessly where to put the cursor and what to delete. And differences between == and === might often be overlooked because of this as well.
It's pretty, but definitely far from being practical.
A practical font is one where you effortlessly distinguish between symbols in the shortest amount of time - while speed-reading through code.
Don't mistake - all fonts have distinguishable characters except for sans-serif variable-space fonts with I and l. But when reading stuff fast, the mind is dumb, and it approximates things.
For instance, a+=i can sometimes be confused with a+=1 if they are remotely similar looking. The brain doesn't go into too much details.
The best font for everyone can be different, depending on eyesight and eye focusing errors. As well as font renderer used.
My personal favorites overall are Input Mono, Source Code Pro, Hack.
Related Rants
When you loose 15 minutes looking at why "padding: O;" isn't working... it's time for bed.
...
Yes that's the letter 'O' instead of a number '0'.
undefined
css
oisnota0