DEV Community

Peter Kim Frank
Peter Kim Frank Subscriber

Posted on

What is your pettiest programming-related opinion?

What is the most meaningless, silly, un-important programming-related opinion that you'll just continue to defend?

We're all familiar with Tabs vs. Spaces...

But what are some other pointless fights that you're always willing to fight about?

Latest comments (67)

Collapse
 
daveparr profile image
Dave Parr • Edited

Fonts designed for programming should have ligature support, and all IDEs should support ligatures.

GitHub logo tonsky / FiraCode

Free monospaced font with programming ligatures

Fira Code: free monospaced font with programming ligatures

Problem

Programmers use a lot of symbols, often encoded with several characters. For the human brain, sequences like ->, <= or := are single logical tokens, even if they take two or three characters on the screen. Your eye spends a non-zero amount of energy to scan, parse and join multiple characters into a single logical one. Ideally, all programming languages should be designed with full-fledged Unicode symbols for operators, but that’s not the case yet.

Solution

Fira Code is a free monospaced font containing ligatures for common programming multi-character combinations. This is just a font rendering feature: underlying code remains ASCII-compatible. This helps to read and understand code faster. For some frequent sequences like .. or //, ligatures allow us to correct spacing.

Download & Install

Then:

Support

Fira Code is a…

I just found out RStudio doesn't support ligatures on Linux, and now I HAVE to decide if I'm going to compromise my IDE or my OS.

Collapse
 
v6 profile image
πŸ¦„N BπŸ›‘

Note that Mr. Withayasakpunt used the word "safer," not "more secure."

I have many times lived the difference.

Collapse
 
anthlis profile image
Anthony L

I read on Twitter earlier this week that it is Xcode. Not XCode, xCode, X-Code, 10-code, etc. and it is definitely not iWatch. IOS and macos are also out too.

Collapse
 
katylava profile image
katy lavallee

There are two things the python formatter black does that I hate, and that makes me not want to use it at all.

 
zzzachzzz profile image
Zach Rosenberger

Yes, the same goal can be achieved with plain CSS stylesheets + JS, but I don't see why that makes styled-components garbage. I suppose it comes down to preference for minor improvements with one option for styling over another.

Collapse
 
fronkan profile image
Fredrik SjΓΆstrand

When naming variables, snake_case is better than camelCase

Collapse
 
jpaulin profile image
Jukka Paulin

Java's habit of having super long function and variable names. Yuck! :D

Collapse
 
johnkazer profile image
John Kazer

Functional JavaScript is better than typescript.

Collapse
 
mrispoli24 profile image
Mike Rispoli

You should be using class names on your DOM elements to help people navigate the code base whether you style them or not, preferably BEM syntax.

Emotion and other libraries that try to just sell me into writing inline styles again can die a slow death.

Collapse
 
zzzachzzz profile image
Zach Rosenberger

What makes styled-components garbage?