npm vs npx — What’s the Difference?

By Carol-Theodor Pelu If you’ve ever used Node.js, then you must have used npm for sure. npm (node package manager) is the dependency/package manager you get out of the box when you install Node.js. It provides a way for developers to install package… » freeCodeCamp.org | freecodecamp.org

25 de enero de 2020 · 1 min · 47 palabras · Nacho Cano

let vs. const

So which one should I use? » overreacted.io | overreacted.io

11 de enero de 2020 · 1 min · 10 palabras · Nacho Cano

JavaScript: var vs let vs const

Nice Doodle by Abhishek Kumar explaining the difference between JavaScript’s var, let, and const: Good to see hoisting is also explicitly mentioned by name. 💁‍♂️ I personally always start with const. Only if I need to reassign a variable’s value (for example: a counter in a… » Posted by | bram.us

5 de enero de 2020 · 1 min · 51 palabras · Nacho Cano

10 React JS Articles Every Web Developer Should Read

Hello Guys, React or React JS is a JavaScript front-end library from Facebook which lets you create HTML based GUI. It makes the task easier by providing a component-based architecture which was only available to languages like Java and C# before. Because of this awesome feature, React is quickly becoming the standard JavaScript library for developing front-end. That’s the reason many programmers and developers are learning React or React JS. ...

6 de octubre de 2018 · 1 min · 75 palabras · Nacho Cano

10 Pure CSS Responsive Navigation Code Snippets

Designing a responsive layout doesn’t need to be difficult. Especially if you initially wireframe to plan ahead and figure out exactly what you’re creating. One of the hardest parts of a good responsive site is the navigation. This can take a while to figure out and there are plenty of tutorials to help with that. But I’m also a fan of using code snippets like the ones I’ve collected for this article. ...

28 de marzo de 2018 · 1 min · 78 palabras · Nacho Cano

Writing efficient JavaScript

This entry describes simple techniques to fulfill the JavaScript compiler optimization process which results in faster running code. Especially in games you immediately notice frame drops and when the garbage collector has to hit in with a big stack of work to do. » Felix Maier | medium.com

30 de noviembre de 2016 · 1 min · 48 palabras · Nacho Cano

What the heck is the event loop anyway? | Philip Roberts | JSConf EU

What the heck is the event loop anyway? | Philip Roberts | JSConf EU » JSConf | youtube.com

25 de agosto de 2016 · 1 min · 18 palabras · Nacho Cano

Ryan Seddon: So How Does the Browser Actually Render a Website? | JSConf EU 2015

Ryan Seddon: So how does the browser actually render a website | JSConf EU 2015 » JSConf | youtube.com

4 de diciembre de 2015 · 1 min · 19 palabras · Nacho Cano

The Visual 6502

A complete simulation of the 6502 processor (used in the Commodore 64, Apple ][ and the NES). » visual6502.org

8 de abril de 2015 · 1 min · 19 palabras · Nacho Cano

Notes from the development of xkcd’s ”Pixels”

Over the years, I’ve had the pleasure of hacking on the frontend code for a bunch of xkcd’s interactive comics, including: unixkcd, xk3d, Umwelt, Time, Externalities, and Lorenz. This weekend, I was pinged about making something to coincide with the release of What If?: Serious Scientific Answers to Absurd Hypothetical Questions. The process of building ”Pixels” was even crazier than our usual April Fools rush, and had the extra intrigue of being live during Randall Munroe’s Colbert Report interview. Here’s a few anecdotes from the development of Pixels and a quick explanation of how it works. I hadn’t worked with some of the graphics programming patterns (coordinate systems!) for a while, so I ended up making some classic mistakes – hopefully you can avoid repeating them. :) ...

14 de septiembre de 2014 · 1 min · 138 palabras · Nacho Cano