I don’t intend to replace them for all their use case. It would be dumb. The alternative won’t change the way it works and its purpose is mostly code aesthetic.
🖥️ An alternative to if/else and switch in JavaScript
in JavaScript
Web ninja //
CTO on demand
in JavaScript
I don’t intend to replace them for all their use case. It would be dumb. The alternative won’t change the way it works and its purpose is mostly code aesthetic.
in JavaScript
As front end developers, the browser console panel and the console API should be one of our primary tools. We all use the console.log()
or console.dir()
methods, but too few of us master the trace
, time
, profile
and other magic methods that the console API provides. I will assume that you work with chrome and know how to access your console. I won’t write about the other pannels (Elements
, Network
…) but they are, of course, mandatory to master.
La plupart des développeurs front end que j’ai rencontré connaissent les principes de base du hoisting (hissage en anglais). Comment la déclaration des variables est gérée en JavaScript et pourquoi on peut rencontrer ce qui semblera être un comportement aberrant du language aux autres développeurs. Mais peu savent pourquoi et comment cela fonctionne sous le capot. Je vais ici tenter une explication basique du processus.
in JavaScript
Most of the decent fronts-end developers I met knew the basic principles of hoisting. How variables declarations are handled by JavaScript engines and why you may encounter what could appear as a quirk for a non JS developer. But fewer knew why it works that way and what happen under the hood. So I’ll try a basic explanation for these elements.
in Code
Markdown is a minimalist publishing and text formatting system. It’s more and more widely used and I will to my best to help you learn it fast.
in Code fr
Markdown est un système de publication et de formattage de texte minimaliste. Il est de plus en plus utilisé et je vais faire de mon mieux pour vous aider à l’apprendre rapidement.
in JavaScript
Working with nested objects is frequent in JavaScript ; so I made this screen cast around this question. But the goal here is to help JavaScript beginners to understand how to build a simple recursive function and to get a better intuition about the reference system in JavaScript. The full text contents is in the post and you have also a fiddle to play with the code and see it in action.
in HTML
When embed fonts don’t look as good as you wish.
in HTML fr
Quand les fonts embarquées ne rendent pas aussi bien qu’on l’espérait.
in Design fr
Mon expérience de concepteur est issue du design des ihm (interfaces homme-machine) web et applicatives ainsi que du design pour l’impression et le packaging. Mais les quelques considération qui suivent devraient pouvoir intéresser toute personne impliquée dans un processus de conception ; que ce soit pour un objet physique, un service, un algorithme… Lors de ce processus, les prototypes sont une nécessité.