Basic JavaScript is insanely hard, but we can survive

Basic JavaScript is insanely hard, but we can survive
0

#1

This is just a discussion topic, I really don’t want to complain about the section or cry about how I suffered to finish it. But, I just ended it and I feel like a survivor. I went through HTML and CSS so easily that I was actually underestimating FCC exercises.

This feel walked with me through almost half of the JS section, but at some point, things started to feel really hard. In some cases, I probably have spent over an hour in the same exercise, feeling frustrated some times and really surprised with my performance in others. I researched a lot, looked some tips, and I made through the whole unity.

My point here is, JavaScript is hard and has a lot of details in it’s semantics. But going out to the real world, how’s that whole of functions and nesting crazy loops into another is really present? How do you guys feel about learning JS?


#2

It’s a bit like preparing for a date (once every five years): elated, excited, exhausted, really wanting it but then already thinking of all the hard work it is and is going to be.

Difference is: I do plan to really meet Javascript.


#3

Have you ever programmed before, in another language (C, basic, ?)?

Some of those exercises are quite tricky, and if you have never
programmed before, possibly too advanced. In that case,
I would recommend getting a book of javascript for beginners
and doing lots more simple exercises before tackling the
rest of the challenges.

I don’t think the intro to JS really prepares you for the more
difficult challenges if you are new to programming.

There is simply no substitute for gaining experience before
tackling these more difficult problems.


#4

Nesting functions is still really common. Callback Hell is real and it will make you cry. Promises, generators, and reactive programming are here to save us, but are more advanced and sometimes require additional libraries. Nesting loops and other iterators is a big no-no, so I doubt it’s actually seen much, but the challenges that cause them aren’t uncommon.

Programming is difficult, but the most learning you’re going to do is in the beginner phase. Once you’re able to build a program from a spec, you’ll have fewer, but much more difficult topics to learn.


#5

I am newbie programmer, have been programming for 3 weeks now but I am extremly motivated and I got 2 friends to work with, and for all 3 of us JS is very hard. It’s very frustrating for me but I get that I cant expect to learn everything fast. HTML and CSS were also easy for me. so you are not the only one with same problem :). dont worry we will understand it soon enough!


#6

I’ve been using Promises. They’re unsupported in IE, but I don’t fully understand callbacks whereas I understood promises instantly so I just use em :slight_smile:

Got no idea what these are though :blush:


#7

Reactive programming defies easy explanation, but you can check out my simple example project to see it in action. All of the Observables are a reactive concept. Think of them as arrays of data that are constantly taking in information. We like arrays because we can call methods like forEach.


#8

Awesome! Thank you everyone for your answers. Well I had a short programming experience with Java, mainly to creat really simple Android apps. Actually, I really believe that people shouldn’t be afraid of FCC exercises and this is actually why I started this topic. All those algorithms can we overwhelming for begginers but are defintelly doable.

Is great to know we have options to optimize our workflow with JS and is not always needed to do everything with your bare hands. So thank you for showing us some options in this topic. I am moving forward here in FCC and really hope to take my certficate soon. Hope to try to find a job next year, as in my country has a lot of space for devs right now.

Anyway, thanks again for accepting this discussion :slight_smile:


#9

I was cruising nicely on HTML and CSS, and then just slammed into a brickwall named JAVASCRIPT. This IS insanely hard, but hey I’m gonna try to stick it out! GREAT TOPIC.


#10

In some cases, I probably have spent over an hour in the same exercise

I know that feeling well, I easily completed 80% of the front-end curriculum but when I hit algorithms challenges like “no repeats please” (or projects like tic tac toe), it felt like an impossible task, like a “build me a pyramid” task.I had never done this kind of exercice before and had no clue where to start, and I also hated the idea of getting help from google and not solving this on my own.So I spent an entire night on it, even using countless sheets of paper to draw visual representations of ways to solve this (which never worked)…until it finally paid off.