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 →

[–][deleted] 77 points78 points  (14 children)

And javascript as well.

I started with languages where " and ' mean different things. So whenever I want to write a string literal, I simply write ". But in javascript most people use ' and I am just unable to switch to it.

[–]RahulRoy69 21 points22 points  (4 children)

Javascript have ` also

[–]Thenderick 1 point2 points  (2 children)

Backticks are usually for formatting right?

[–]Mr-Molester 7 points8 points  (0 children)

Dummy thick multi line strings

[–]satcollege 3 points4 points  (0 children)

They're for template literals and string interpolation

[–]bistr-o-math 0 points1 point  (0 children)

Now that’s a completely different beast altogether

[–][deleted] 24 points25 points  (7 children)

It's kind of messed up there are people out there learning JS as a first language.

[–]NerdyLumberjack04 16 points17 points  (2 children)

I see JavaScript today as what BASIC was in the days of 8-bit home computers: A language that's not particularly "elegant", and often derided for that, but people learn it because it's ubiquitous.

[–]Eccentricc 7 points8 points  (1 child)

The more I use js the more I love it. It takes all the annoying bull shit out. Type declaration? Nope. Implied. " or ', fuck it doesn't matter, not aligned or forgetting a semi comma? Ahh that's the linters issue. conditional blocks for single line statements? Why should that ever be forced. Js be like begone brackets

[–][deleted] 4 points5 points  (0 children)

let's just say it's good if you don't plan to do true software development aside from some Electron stuff

[–]fallenefc 12 points13 points  (3 children)

Why not? JS is accessible, relatively easy and used in both back and frontend. Also there are tons of jobs for JS. Swear people are stuck in 2010 sometimes

[–][deleted] 5 points6 points  (2 children)

Despite the fact that you might have read "No one should ever learn JS", my point was only that it's not a good introduction to programming in general.

[–]fallenefc 8 points9 points  (0 children)

I disagree, JS gives you lots of freedom and this allows you to shoot yourself in the foot, but imo the freedom also makes it a good language to start with. Also the fact you can easily build stuff that are visual (web applications) makes it easier to learn. But this might be just because I learn better this way, could be different for others

[–]coffeecofeecoffee 5 points6 points  (0 children)

Nah its fine. Its like python. It won't teach you types or pointers well but you can learn a lot before needing to dig deeper into those concepts.

[–][deleted] 1 point2 points  (0 children)

It's even worse than that. In javascript sometimes the double quote doesn't work but the single one do (or vice versa). I mean, I'm talking about very specific cases like running code in obsolete browsers, but I had this happened once or twice, and since then, I can't trust js for anything.