Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Articles related to "javascript"


My Top Youtube Channels to Learn Web Development and Programming

  • Sorry Guys, I didn't post an article for a month and a half because I didn't have the time because I quit my job and there are requirements that I have to do before leaving the company.
  • Sometimes learning Programming is hard, understanding the concepts and memorizing the syntax, so we need help from other people or sources that can solve our problem.
  • So these are my best Youtube Channels to Learn Web Development and Programming.
  • Shaun is one of the best guys to explain Core Concepts and Fundamentals of a certain technology.
  • He has tutorials for JavaScript, React and Redux, Vuejs, Git and Github and many more.
  • Brad teaches new Programming Languages and New technologies or frameworks and also he shares his experiences in his life and work and being a Software Developer.
  • He has tutorials for NextJS, HTML, CSS, JavaScript, Laravel, NodeJS and many more.

save | comments | report | share on


Node.js Under The Hood #4 - Let's Talk About V8

  • So JavaScript is basically a dynamically-typed interpreted language, everything we run in JavaScript is passed on to the engine, which interacts with its environment and generates the bytecode needed for the machine to run our program.
  • It compiles JS into machine code at run time by implementing what is called a JIT (Just In Time) compiler.
  • Different from other languages like C++ which uses AoT (ahead of time) compilation, which means that we first compile, generate an executable, and then you run it.
  • The first step in all compiling pipelines of almost every language out there is to generate what is called an AST (Abstract Syntax Tree).
  • So as we can see in the JSON we have an opening key called type, which denotes that our code is a Program, and we have its body.

save | comments | report | share on


Which programming language is the best for blockchain?

  • In the blockchain development zone, we have a few most popular languages, they are Javascript, C#, C++, Python, Golang, Solidity, Java, and Rust.
  • The next popular way where developers use javascript is Hyperledger Fabric SDK for node.js it is the huge framework used very often in big companies and corporations so if you like this way of work it could be a good option for you.
  • In the blockchain industry Python is used in many good projects, for example, it has its own implementation of Ethereum(pyethereum), we can use it to create contracts for NEO and smartcontracts for Hyperledger as well.
  • We can compare the difficulty level to C#, which could be more difficult than javascript or python, is more complicated, but is a very popular language and are tons of learning resources.

save | comments | report | share on


#challengePDF Booklet: JavaScript coding challenges for beginners

  • If you like this kind of challenges please also check codeguppy.com and follow @codeguppy on Twitter.
  • Have fun!
  • Sore eyes?
  • We're a place where coders share, stay up-to-date and grow their careers.
  • We strive for transparency and don't collect excess data.

save | comments | report | share on


#showdevCopying Javascript Objects in an efficient way

  • Copying Javascript objects can be tricky.
  • Most of the time, we will do shallow copy of an object in javascript.
  • But, there are few problems associated with that approach.
  • But getting into that topic, we will see what is shallow and deep copy in javsacript.
  • In javascript, shallow copy only clones the top level of an object.
  • if an object contains the nested or reference object.
  • it will copy only the reference to it.
  • To solve this problem, deep copying is used in javascript.
  • Meanwhile, deep copying in javascript clones the nested objects too and stores it in the different memory location.
  • So, changing the original object doesn't affect the cloned object.
  • Install lodash in your machine to use it.
  • After that, there is a method called clonedeep in lodash which is used to achieve the deep copying in javascript.

save | comments | report | share on


How One Article Shaped My Career

  • And this idea of "learn JavaScript, not jQuery" has been something that I've tried to instill into all of the developers we employ at my place of work.
  • jQuery, but also this idea of "when should I reach for React?" or "Do I really need to import that NPM package when with a little more work I could do it myself and understand what's going on better to improve our development processes as a whole?" etc...
  • The tooling and the ecosystems provided to developers today can make our jobs so much easier, but I invite you the next time you reach for a framework you ask yourself "why am I doing this" instead of just doing what is the most comfortable and beginning to think in this way of "what will also improve my skills as a developer on every single project I work on?".

save | comments | report | share on


You should be on Exercism.io

  • Exercism.io is a programming education site that focuses on problem solving.
  • But what sets Exercism.io apart is its mentor network of experienced developers.
  • In order to progress through the core exercises, a mentor needs to review your solution for efficiency.
  • Below is my solution to the Resistor Color exercise.
  • I will include several my original answer, feedback from my mentor and the refactoring that followed to showcase the power in getting feedback from a more senior developer.
  • The first 2 bands of a resistor have a simple encoding scheme: each color maps to a single number.
  • More than just being able to write code, I want to be able to develop clean, thoughtful solutions to problems.
  • Several months after my first Exercism solution, I've only made it through 5 core exercises.
  • It takes time for 112 JavaScript mentors to work through solutions submitted by 47,413 students.

save | comments | report | share on


Create Your First React Desktop Application in Electron with Hot-Reload

  • When we're surrounded by a constantly changing environment in the JavaScript ecosystem that is mostly involved with apps in the web, we might even question whether desktop applications are even worth to get into.
  • Running that will create the electron-react-typescript-app folder and install the necessary dependencies listed in package.json.
  • This means that we won't be using the browser anymore since we are building a desktop application and that electron can load up content into each of its windows by giving them URLs. So we can instead use the electron windows (which will have access to node.js modules and the local file system).
  • We get the benefits of hot reloading from CRA right into the electron window along with node.js modules and the local file system environment right into the "web" page.
  • Lets now make the main electron process restart when we make changes to start.js, because currently we only have hot-reloading enabled for the web page UI.

save | comments | report | share on


My Top Youtube Channels to Learn Web Development and Programming

  • Sorry Guys, I didn't post an article for a month and a half because I didn't have the time because I quit my job and there are requirements that I have to do before leaving the company.
  • Sometimes learning Programming is hard, understanding the concepts and memorizing the syntax, so we need help from other people or sources that can solve our problem.
  • So these are my best Youtube Channels to Learn Web Development and Programming.
  • Shaun is one of the best guys to explain Core Concepts and Fundamentals of a certain technology.
  • He has tutorials for JavaScript, React and Redux, Vuejs, Git and Github and many more.
  • Brad teaches new Programming Languages and New technologies or frameworks and also he shares his experiences in his life and work and being a Software Developer.
  • He has tutorials for NextJS, HTML, CSS, JavaScript, Laravel, NodeJS and many more.

save | comments | report | share on


#discussHow are you handling User Authentication?

  • I currently use passport.js, but I don't like it, and adding in social logins is complicated and annoying.
  • I'm currently shopping for a better solve for this problem.
  • I use three levels depending on the user / customer.
  • Its not an enterprise app, so Okta is a bit of overkill, but it is a nice solution.
  • Have a look at fusionauth, its a free fullblown auth solution.
  • Gives you all the benefits of a full blown auth system without a price tag.
  • We use it at $dayJob. For hosted solutions, Auth0 or Okta.
  • While okta appeals to enterprises, they have an auth product for your consumer apps similar to Auth0.
  • Firebase has some UI libraries you get on npm.
  • But I don't think they are officially supported by Firebase or anything they're just community libraries.

save | comments | report | share on