JavaScript frustrations for developers
Tags: firstpost, javascript, programming
Published: 2020-04-15 09:44:06

---
title: JavaScript frustrations for developers
published: true
description: How to deal with stress, working with JavaScript projects 
tags: Firstpost, JavaScript, Programming
---
<img src="https://dev-to-uploads.s3.amazonaws.com/i/g68fe572ff1fbzi7k7g7.jpg" alt="thinking in javascript" class="w-100" title="collaborate on solving problems" alt="thinking in javascript- nextjob">
 

<h2>Thinking in JavaScript</h2>
When you dive into JavaScript for the first line of code, You should not have other distractions, getting comfortable with the JavaScript programming language is based on an individual, it is important to understand clearly the objective of the project, then apply your skills to solve the problem without making noise.

<h3>Thinking patterns</h3>
All projects are started to solve a problem or as a new concept,
throw every possible scenario on the table, as a problem solver you should be able to define what the problem is, get to the core of the problem you are trying to solve with JavaScript, as a language of choice for your project, the questions should be answered by the way you integrate, iterate your solutions through conditionals.

<h3>Redefine strategies</h3>
Most of the complex parts should now be out of the way, getting started with your core mission plan, what should be solved and how? Focus on the problems that are easy to spot, isolate predefined structures of your code when applying a solution, these methods should conclude themselves in other words, the code itself should be easy to read, group every task by functionality and purpose. 

It does not matter how good you are with JavaScript if you follow good coding practices including programming paradigms and patterns. You are all set to solve serious concepts, stop thinking in JavaScript that is the tool, focus on the solutions you want to try to solve using the tool, redefine your approach to the language.


<h3>This "New thing" vs "Old thing"</h3>
LTS (Long-term support) is your starting point, when you think in JavaScript you want to try every little thing you have learned, when you think in solutions your mind targets the problems, LTS to UWYM (Use what you master) is simply a thing of the past, new features being rolled in are not making the language JavaScript any harder, this simply means there are problems you have not encountered yet. 

<b> The new thing: </b> extends what already exists, think of “Classes” in JavaScript, this is a crazy idea, if you want to write JavaScript, the language has a tone to it and its called “Proto” with chained “Objects” ending with a “NULL” which points to nothing, learn the core of the language starting from ES 5, the is more power and control about being “Strict mode” tech-savvy.  

<b> The old: </b> will teach you the advanced concepts themselves, the structure you problems so that they are easy to approach with code, let the JavaScript language solve the problem don’t duplicate problems, this is not the same as a DRY concept meaning do not repeat yourself, just DDP (Don’t duplicate problems), solve the problem first before applying the solution, do not re-create the problem in code then try to iterate to solve it.



<i> Adapted from <a href=”https://www.nextjob.co.za”> nextjob.co.za – CEO Revision </a> </i>