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
-
These are font ligatures...
https://github.com/tonsky/FiraCode
You can find here some common ligatures and their replacements.
But yes. Bad choice for documentation.... Not everyone likes it. It takes time to get used to it. -
myss45284y@PublicByte well I've also found out about font ligatures only couple months ago when Jetbrains released their new font which supports them.
Honestly I don't like them mostly due to the fact they basically fool you on what you see. I can certainly see how this might be attractive if you're relatively new dev and/or have some non-dev background, but deffo agree with this rant, these shouldn't be pushed anywhere else except someone's private editor.
Normal operators (as in non-transformed to ligatures) are standard in most if not all programming languages and using ligatures introduces unnecessary confusion for most of devs on places like code documentation. -
Voxera115734y@nitwhiz no, I loved them the first time I found out about them.
They make it very much obvious what operation it is and I have switched every editor I have over to them.
But I agree that it should be an active choice to use them, not default. -
VaderNT16344y@myss "I can certainly see how this might be attractive if you're relatively new dev and/or have some non-dev background"
Neither are true for me and I still like ligatures. -
C0D4681384y@myss a lot of these I was using a life time ago in school.
So to have fonts that use the same symbols I was using for math operators back then is more nostalgic then trendy for me. -
VaderNT16344y> how exactly am I suppose to input these
That's actually a fair point, you don't know that from the docs alone. You need an introduction to the language's syntax first. Which you need anyway to work with any language so... 🤷♂️ -
VaderNT16344y@myss I don't mind being an edge case. In an older version of this comment I asked you to back that up with numbers. It doesn't matter though.
Your original point was you see utility for new devs or non-dev people. From the comments here you see ligatures are useful for a much wider range of people. Congrats, your horizon was broadened, that's what I truly care about. Forget those numbers. -
h4xx3r17164yI already got used to firacode, I have it on all of my IDEs. It's a pleasure to my eyes 😌
-
Flygger19814yI don't think the ligatures are the most hideous parts of FiraCode!
I do think ligatures makes it far to difficult to see the difference between =, ==, and === at a glance and with many errors in popular languages being a result of mixing those up, that's just silly to me.
Also reading from the ligature which character to change for the operator to change is a little less obvious, especially if you're new to a language or syntax. -
You whipper snappers with your fancy pants fonts! You get all these wow shebang new toys and then complain when you don't get boolean logic. C/C++ is hard wahhhhhhh! Damn cry babies! ;-)
-
sawmurai2384yMaybe it’s snobby but I immediately lose like 50% of the respect I have for a fellow coder if I see him or her use font ligatures. I don’t have a good reason for doing so.
Related Rants
why did kotlin documents use these fucking idiotic font that combines 2 characters into one stupid looking icon? how is it friendly to a noob? how am i suppose to know how exactly am I suppose to input these piece of shit?
devrant
kotlin