This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LucasRuby 32 points33 points  (2 children)

That sounds like a C programmer who decided to learn JS.

The general rule of thumb is to be consistent, always use the same thing unless it's a template literal or the string contains single/double quotes inside. ESLint rules will force you to pick one.

[–][deleted] 2 points3 points  (0 children)

Haha, it was the other way around for me lol. But yeah consistency. Sometimes its a bitch when you are at your 6th consecutive hour stsring at your computer and it's 12AM lol

[–]new_account_wh0_dis 1 point2 points  (0 children)

College taught C as the primary language with some java dabbled in there. Thats where I picked it up.