Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Offing yourself before you are forced to write the first line of js is probably the most viable solution
-
Using anything that compiles or transpiles to JS is horrible advice if you don't know JS already. Which brings me to reading the books 'you don't know JS' they are prrtty good in terms of content and friendly imo. There is a lot to learn in JS land, git gud. Theeeeeeen once you are good with it you can go the typescript route .
-
thoxx20877y@AleCx04
this!
I like typescript too.... but never skip learning vanilla js before diving in any frameworks or js supersets -
Crazed20507y+1 on the linter, it'll help a lot.
Watch understand JavaScript: the weird parts on Udemy, its normally like 12 bucks and helped me a lot.
If you're in to books, 3 that come to mind are eloquent JS, secrets of a javascript ninja, and you don't know JS. All free online.
JS is a language like no other. It's got plenty of... Quirks. But, like the blade, there's honor in mastering it.
Have fun and godspeed. -
MrMarlin9817yThanks for all the helpful comments. Will definitely have a look at these 3 books mentioned by @Crazed . And i will definitely first learn plain JS. Hope i will get the basics and some more in the next 4 months. :P
-
Crazed20507y@MrMarlin it's not too bad :) there's only a few parts that are counterintuitive. Also, You Don't Know JS is a book series, so it's a bit lengthier.
-
Tudor2177yStudy callbacks and promises. You won't belive how many errors you can get because of async/sync code.
-
@jakobev typescript allows you to program using es6+ features while the product will be es5 compatible. You don't even need to declare types if you don't want to. Though the op didn't say whether this would be for browsers or not, so maybe it's a moot point (unless he has to use a really old node version or something).
-
MrMarlin9817y@spongessuck I don't know yet what I'll have to do exactly, but I don't think that it is the most recent and fancy technology. So typescript will definitely not be a thing for me to learn.
-
Learn the difference between asynchronuous and synchron code. This will save you a lot of race conditions...
-
Wack63107y@jakobev type script brings in... Types. As a Java Guy, he'll find that probably more familiar.
@MrMarlin if you "create" a class. Meaning you create a function which itself is a object and then prototype it with functions/variables you kind of get oop. Note however that if you call it a second time, you need to reset arrays and such, as they get passed by refference to the new instance. -
@MrMarlin you can use typescript for anything, as the typescript compiler will make a js file you can use anywhere.
-
MrMarlin9817yStarted with free code camp yesterday and i must admit, it's perfect for me to start. Thanks @jakobev and @Cyanide for the tip. :)
Related Rants
I am going to learn JS for a temporary job in June. I never programmed JS only Java since 2 years. Do you have any tips for me?
question
javascript
java
job
learning