Comment

Comment by cptn_badass

Double quotes allow you to do string interpolation, which is not possible with single quotes. So I assume one faction argues that everything should be double quoted because it's does not matter if there's interpolation or not, while the other group would rather only use double quotes when necessary, otherwise use single quotes.

I'm personally part of the second group simply because my linter forced it, but at the end of the day, it's such a low impact we don't really care.

parent cptn_badass 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton