Comment

Comment by sushid

I'm not sure why/when the shift took place, but I do like it because it looks a lot cleaner than double quotes.

At work I use airbnb's linting configuration as shown here[1], which specifies the usage of single quotes for strings (no explanation for the preference though).

[1] https://github.com/airbnb/javascript

parent sushid 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton