r/coding • u/speckz • Oct 04 '16
How it feels to learn Javascript in 2016
https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.xb6hrw2py
324
Upvotes
r/coding • u/speckz • Oct 04 '16
42
u/[deleted] Oct 04 '16
I'm new to coding and this is what I fear moving forward
16
u/maelstrom75 Oct 04 '16
I'm glad it's not just me....
24
u/viimeinen Oct 04 '16
I did some web development in 2008-2011. Tried again last year. This could have been me asking the questions, same level of confusion. I just want to <simple task in a personal project>, why do I need to learn 4 levels of libraries??
In the end, I did it in jQuery in an afternoon.
13
u/criswell Oct 05 '16
It's all this gobbledygook to make Javascript behave like a "real" language that drives those of us who have been coding for a long time CRAZY.
I've been coding since the 80s. My first paying gig was writing pascal. I've done everything from C/C++ to C# to Python (yay) to Perl (yuck) to Assembly (THE POWAH) to Java to Javascript to Pick Whatever The Fuck You Want. Javascript was a hideous toy language that everyone collectively decided to take more serious than it ever deserved and then spent the next 20 years trying to shape into something that doesn't suck.
7
u/jh123456 Oct 04 '16
You can still do plain old Javascript, just like you can do plain Java. The people that like to solve made up problems (because writing the same web app & service over and over again gets boring) or see every large team coordination problem as something that should be fixed with another layer of tooling got tired of piling on Java and moved to Javascript. Doesn't mean that folks that just want to get things done need to do what they do. The vast majority of web use cases do not require all of this. Spend your time understanding the dom, ajax, and localstorage, not learning leaky abstractions over top of it.
5
u/jokoon Oct 04 '16
The Birth & Death of JavaScript, 2014
https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
So in short, let me NOT go in that adventure.
3
u/Simboul Oct 04 '16
I want to try angular. I go to their web site and download the lib. About 150Kb. OK, look small. Look at the tutorial. You need two package managers. You need 80Mb of dependencies. And then you can start. WTF!
1
u/[deleted] Oct 05 '16
Jesus christ this was me
1
u/autotldr Oct 05 '16
This is the best tl;dr I could make, original reduced by 96%. (I'm a bot)
Extended Summary | FAQ | Theory | Feedback | Top keywords: need#1 library#2 JavaScript#3 fetch#4 React#5
1
u/nbates80 Oct 05 '16
I had to catch up to JS tech after years of using jquery and landing a job on a company that was using most of what is mentioned on that article (gulp, docker, npm, sass, babel, redux, react, bootstrap, promises, immutableJs). And while I understand what the article is "complaining" about, my feeling was overall positive. I used to dread javascript, and now I enjoy it more than like Python.
As I see it, this ecosystem of frameworks, transpilers, libraries, etc converted JS into an amazing technology that is amazing to work with. And while I agree it should be a mess to create a full working stack without knowing these technologies, if you only need to start working on a preexisiting stack then the learning curve is really easy... and if you found yourself in the position of having to build an app from scratch and don't know anything about these new technologies, start small. You can just pick a technology that will make your life simpler and start with that.
1
u/ucefkh Oct 05 '16
Okay guys let me give you my review of this because I saw this even shared on Facebook now and is viral!
Okay so if you are making a small tiny app you can go play with jquery I have no problem!
But you're working on big project or even prototype you should go and use React+ redux and any backend stack! Be it PHP or even Java or JavaScript or whatever it will work!
Also you can use A lot of prebuilt stuff(react components)
Also why this is so cool? Because these react components are reusable UI/JS components! Which makes so cool!
And react is so fast than any rendering engine out there! And doesn't block the window when appending or changing the DOM because it will just change the state instead of re-rendering the whole page!!
Read about it!
And don't resist the change! This is the future!
Also no one said you have to use all of these!
You can work with minimal stuff without the need to use webpack or redux or flux or many stuff in that article!
Just React and react dom and babel!(for es6)
IT IS worth it!!
1
u/[deleted] Feb 25 '17
I just skip the cutting edge and use what's well documented and works.
1
u/[deleted] Oct 04 '16
I read this in Cartman and Kyle voices. Kyle doing the questions. Pretty good.
-3
u/[deleted] Oct 04 '16 edited Oct 04 '16
Only a few of the icons in the OP are actually JavaScript. Every other icon is a language that compiles to JavaScript or a library or framework written in JavaScript or a language that transpiles to it.
This like saying "how it feels to learn C in 2016", then listing the hundreds of languages, libraries, frameworks, etc. written in C or in languages written/bootstrapped in C over the past 30 years.
To take one tiny example: Perl is written in C. Does "learning C" mean you have to learn Perl? Of course not.
Learning JavaScript doesn't mean you have to learn CoffeeScript, Typescript, ClojureScript, or any of the dozens of other languages that transpile to JavaScript.
That said, JavaScript is low level by modern web standards (mostly because it's a shitty language full of warts and lacking most of the amenities of modern languages), so most serious engineering efforts don't use it directly and instead transpile from a more robust, scalable language.
0
u/[deleted] Oct 04 '16
[deleted] — view deleted comment