Better HN
topnewbestaskshowjobs
Log inSign up

ananaskiller

2 karma · joined Jul 14, 2016 (10y ago) · 1 submissions

Submissions

comment 8y ago · link · parent

Really? I think JavaScript is the perfect language to learn with. Yes it has its quirks and weird edge case, but from someone with no programming background I think JavaScript is one of the easiest and most practical language to learn.

I think a lot of the "bad stuff" can be seen as an advantage. Like for example:

- Lack of strong typing - User don't have to bother with the data type at first, they go directly into the logic

- Typecasting when comparing - faster for quick comparison. E.g. if a user wants to check if the input of the user is equal to a certain number, he doesn't have to cast it as an int/float/whatever before, he just does "10" == 10 and it just works.

And also, its greatest strength I think is the fact that it's the language of the web, and web development has the lowest "barrier to entry", because all you need is a notepad and a browser and you can easily develop and test.

Anyway, as many people have pointed out, I don't think it matters that much what language you start with, because it makes you learn the logic of programming, which is then transferable to all other languages anyway.