By Fabian Lee | April 10, 2020
3 min read • Loading views
The interesting part about coding in general is that you don't have to be an expert in a language to build something out. You have access to tonnes of libraries and solutions online that have solved almost all of the complicated problems for you. You only need to focus on piecing the available puzzles together. This is how I feel in this stage of my career. I don't have to know how React is implemented in order to use it to build a web app. I don't have do complicated array manipulations with vanilla loops and statements when helper methods like
filter are available.
If you have something like this:
name = 'Fabian';
When you add
use strict at the top of your script file,
'use strict'; name = 'Fabian'; // Throws error
use strict is included in ES6 classes and modules. Even if it's not, I guess no one would realize this kind of declaration exists.
I would visit ESLint documentation once in awhile but I never knew there's a playground for you to preview the rules. It would be useful if you want to build a custom eslint config.
Mnemonic is a learning technique that helps us retain information in memory easier. It's always good to see a teacher that gives you interesting way of remember important concepts.
And we should remember everything except Objects are call Primitive Types. Functions, Arrays and Dates are essentially Objects in JS.
Part 1 of the course is super easy in general. I'm glad that I still learn something new at end. The next thing would be about Functions. Check out the course if you are interested.