Fabien Huet

Fabien
Huet

Web ninja //
CTO on demand

Home Github About me

🖥️ An alternative to if/else and switch in JavaScript

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.

Continue reading

🍭 Working in the DevTools, you don't use the console enough

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.

Continue reading

👾 Comment le hoisting fonctionne en JavaScript et pourquoi

in JavaScript fr

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.

Continue reading

👾 How and why the hoisting works in JavaScript

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.

Continue reading

short guide to start with markdown

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.

Continue reading

un guide pour bien commencer avec markdown

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.

Continue reading

How to « find deep » and « get parent » in JavaScript nested objects with recursive functions and the reference concept (level beginner)

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.

Continue reading

Font-face rendering problem in chrome and firefox, use postscript outlines

in HTML

When embed fonts don’t look as good as you wish.

Continue reading

Les problèmes de rendu font-face sous chrome et firefox, utiliser des contours postscript

in HTML fr

Quand les fonts embarquées ne rendent pas aussi bien qu’on l’espérait.

Continue reading

Prototyper, itérer et évaluer son design

in Design fr

De l’importance du prototype dans la conception

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é.

Continue reading