DEV Community

loading...
Guillaume Martigny profile picture

Guillaume Martigny

JavaScript spitter and video-games gatherer.

Education

+5

Work

Developer

All 218 comments

Why you should NOT use Material-UI

It would be very interesting to dive in the "Why". What is th...

How I write web apps in 2021 ?

Thanks for the kind words, glad you liked it.

How I write web apps in 2021 ?

I'm used to it. I'm sure you'll find better alternative to a...

150+ Badges for GitHub

I would recommend badgen.net/ for generating badges. It's eas...

Tell us what your top unpopular tech opinion is 😈

I'm not an accessibility expert. But the simpler the better...

Tell us what your top unpopular tech opinion is 😈

I don't get why use <form> to make buttons? You can j...

Tell us what your top unpopular tech opinion is 😈

Try Less first. It's the same syntaxe as CSS but with nested ...

10 very creative javascript projects on github

Hi, Nice list of repo ! May I add Pencil.js for 2D web canv...

Context2D Canvas question. But is it Webgl?

It must depend of the browser, but I'll say yes it is. Not ...

Context2D Canvas question. But is it Webgl?

2D Context and WebGL are two separate things. WebGL (and GL...

Whats your favorite shell

🀞

Whats your favorite shell

I work on windows but the console is crap. However, I'm a f...

whats your web feature pet hate ?

Labels of online form inside the input field that disappear...

Bad habits

That's an interesting approach. I'm sure most of our person...

Why so much ".forEach() VS .map()" posts in javascript?

People are not comfortable with functional programming I th...

Whats your favorite shell

Best shell is no shell. πŸ˜„

Dev as a Hobby?

From what I understand of you situation: You like dev You...

[Update] Using Svelte with Tailwindcss - A better approach

You just solve a whole day of headache. I could kiss you! ...

How to publish packages to the GitHub Package Registry

Thanks for the article. I see you've publish to GPR, would ...

Help Me (Properly) Open-Source My Vanilla JavaScript Game Engine!

You should check Webpack. It's the biggest, well maintain p...

Help Me (Properly) Open-Source My Vanilla JavaScript Game Engine!

Here's a few thoughts in no particular order : Try not to d...

I've been looking to break into the industry since 2018, what am I doing wrong?

Hi Angel, It took me about a year to find my first positio...

Explain BigInt Like I'm Five

For what it worth, I just wrote an article about BigInt. No...

Which dev.to loading GIF do you prefer?

If you want to use the clever link between the V and a comm...

Do you know any social network for personal projects ?

Really close to what I was looking for. Thanks !

Do you know any social network for personal projects ?

Interesting but clearly a tad bit too artsy for me. Judging f...

CSS can do that?

The conic-gradient blew my mind !

Handling Array Duplicates Can Be Tricky

I'm no expert, but you will loose some item in your array (...

Javascript Array.push is 945x faster than Array.concat πŸ€―πŸ€”

Very thorough article. Considering the fame of lodash, I n...

Why the JS ecosystem is awesome !

Thanks for that beautiful review. I wholeheartedly agree wi...

Exports and Imports and Defaults, Oh My!

Nice article. You just haven't talked about the * globber for...

Fun With Linear Time: My Favorite Algorithm

If you enjoy perfs related algo puzzles, I really liked sol...

Fun With Linear Time: My Favorite Algorithm

The fact that the sequence A, A, A, B, B, C output C as the...

Why the JS ecosystem is awesome !

const http = require("http"); http.createServer((request, r...

Are we pretentious and arrogant?

Try writing an article stating that X is cool ...

Why the JS ecosystem is awesome !

Are you joking? This is a good thing? No I'm not. I know...

How to find a mentor?

First of, congrats ! Caring for your family while learning ...

Why the JS ecosystem is awesome !

And I would love to read those articles. The fact (being tr...

Why the JS ecosystem is awesome !

All languages have a reason to exists. Monopoly has never b...

Why the JS ecosystem is awesome !

You seems to have a conflicting relation with Javascript an...

How do you stay motivated for the entirety of your project?

AFAIK, there's two kinds of people: the starter and the polis...

How to find open source projects as a new developer?

"good-first-issue" are not used by enough projects to find ...

#100DaysofCode worth it or not? πŸ€”

But, shouldn't you ? πŸ€” Burning yourself up because you code...

#100DaysofCode worth it or not? πŸ€”

There's indeed a lot of competition on the dev community. I...

#100DaysofCode worth it or not? πŸ€”

I forgot to add challenge at the end, for it to take on πŸ˜‰

#100DaysofCode worth it or not? πŸ€”

I'm way more productive after a break. I stop coding for we...

Need some help with nodejs

At the syntaxe level, you can use a linter like ESLint. Rul...

what should I do to reach from beginner to advanced level js developer?

Don't push it. If you don't find inspiration to code, do so...

Fun games to play in tech meetups or hackathons

Here, we like to sometimes do a "Clash of code" on CodinGam...

ELI5: Why use a function declaration, expression, or an IIFE in JavaScript?

Honestly, you should never use a function before its declar...

ELI5: Why use a function declaration, expression, or an IIFE in JavaScript?

Hey, I just want to point out that you can do the same with: ...

what should I do to reach from beginner to advanced level js developer?

Well, I'm not an expert, but I know one thing for sure: "Yo...

Stop waving the wand of magic numbers

The default value for "detectObjects" seems to be false, me...

Stop waving the wand of magic numbers

To read more on the subject, you could to the eslint page a...

Welcome Thread - v28

Hi Siufts. It's absolutely normal to not be at ease at firs...

Explain Inheritance in JavaScript Classes Like I'm Five

We're getting off tracks here, but composition don't duplic...

Explain package-lock.json like I am five

A small thing to add here regarding lock files is speed. If...

Explain Inheritance in JavaScript Classes Like I'm Five

Nicely said. You also scratch the surface of the issue with...

ES6 Arrow Functions Cheatsheet

Like a lots of things in JS, you can screw yourself if you'...

In defense of JavaScript oddities

He realizes the absurdity of the request and responds in t...

Why do you code?

As I was bored in maths class a decade ago, I played some s...

Tackling Algorithms: Counting Unique Values

One clever solution is to use Set as they have unique value...

CSS :not Selector

Nice post. I just want to add one caveat of the :not selec...

Would you program a human?

The first thing that come to my mind was "Open source". I, ...

The making of "This is your brain on JavaScript"

Ok, I just wanted to know if you've seen any benefit over o...

The making of "This is your brain on JavaScript"

Thanks a lot for the detailed presentation. The result is r...

Stop trying to be so DRY, instead Write Everything Twice (WET)

Make Organization Inconsistent and Stiff Teamwork ?

I was a (social) Game Developer for 5 years, Ask Me Anything!

What made you want to stop? If tired of your current studio...

Write a script to find "Perfect Numbers"

Yes, I'm so proud of the result. But in the end, this is no...

Write a script to find "Perfect Numbers"

Thanks to your input on BigInt, I made a new solution. Than...

Write a script to find "Perfect Numbers"

I kind of got crazy with this challenge. After a day at ref...

Write a script to find "Perfect Numbers"

You could gain a little by only generating prime numbers fo...

Write a script to find "Perfect Numbers"

How much time did this script took to run ? You approach is...

Experimental Keyboard Game

Whoa, you've really awaken the bot on this post !!

Write a script to find "Perfect Numbers"

Yeah, I liked that we came with two solution from the same ...

Write a script to find "Perfect Numbers"

Gui...

Write a script to find "Perfect Numbers"

First dumb "look at every integer" solution: const range...

Are we Developers helping Google to build an unstoppable monopoly?

If the product is free, you are the product. It means (to m...

Identifying and Mitigating the Ninety-Ninety Rule in Software Development

I knew this principle under the name Pareto. Where 80% take...

What's software development like as a non-native English speaker?

After years of watching video and reading articles in Engli...

my post was sucked to an ether.

You can save with the "published" tag set to "false".

You can now delete issues on GitHub (different from closing them)

Could you show an example of what you would call a "dumb is...

You can now delete issues on GitHub (different from closing them)

Ok spam is annoying, but what difference do you see between...

Does programming require empathy?

We have to separate the end and the mean. You write code to...

Does programming require empathy?

Coding is a craft not an art. Craftsmanship require skills,...

Awesome projects under 1000 stars (3) - Lyo

Yes, you're right. But at the same time, I don't think Lyo ...

Destructuring Assignment in JavaScript

Nice reminder of all the possibilities of destructuring wit...

Daily Coding Puzzles - Oct 29th - Nov 2nd

Plain JS: function arrayToInt (arr) { Β return Number.pa...

Different type of functions in JavaScript

Nice article. Small comment, on the third arrow function ex...

Challenge: Parse simple and complex types from a string

I love them for the exact same reasons =D

Challenge: Parse simple and complex types from a string

I have no idea of the purpose of this, but I never refuse a...

Extending JSON for fun and profit

Very neat article with inspiring code. I never thought of y...

Extending JSON for fun and profit

TIL Kate Upton really like JSON :D pinterest.fr/pin/1394709...

What interesting things I can do with npm?

I used to use npm link, but when scope grows and dependency...

Functional Programming vs OOPS : Explain Like I'm Five

Functional is based on functions and OOP (Object Oriented Pro...

dev.to Show us your octocat alter ego

That was fun to make. Not that far from the truth ;)

Better console.logs

I like to use console.time and console.timeEnd to benchmark c...

10 things I've learned from working remotely

Hi Fabien, Does GenVid's hiring ? Finding a cool game-orie...

Clean code and why I'm behind!

Algorithmic is not a trivial skill. You have to understand ...

Let's talk about the state of auto-generated documentation tools for JavaScript

I have the exact same problem. I always document my functio...

Is coding easy?

You definitely need to be logical to be a coder, but IT nee...

Quick CSS Quiz #4

I'm not a Chrome engineer, but there's a lot of article abo...

Quick CSS Quiz #4

Just to add some salt: remember that css reads from right t...

How fast is your code?

Benchmarking is a skill on its own. Today's JS engine use a...

Awesome projects under 1000 stars (2) - Gridland

You're right to do so. The idea is nice, I added it to my l...

How we measure simplicity to make sure users can do more with less

I love the "friction index" calculation. Definitely, someth...

Feedback On My Portfolio Site

Pretty much the same as ...

Need help understanding: Filtering an array of objects in Javascript

For large data set I would agree (even tho I never thought ...

Need help understanding: Filtering an array of objects in Javascript

Just to summarize: forEach if you need to act on every i...

How to Build Wealth in Your Career over the Years

Apparently, I'm on floor 4 ready to move up. Any advise on ...

What are best practices for persisting positions when using drag & drop?

Fixed: update table -- When moving item down set posit...

What are best practices for persisting positions when using drag & drop?

In your code snippet: You use position then order, but I ...

Awesome projects under 1000 stars (2) - Gridland

Thanks Weston ;) Be sure to check out "a dark room" too, it...

Portfolio Review

Hello Nicole, Try to run LightHouse (embed in Chrome consol...

How Do Objects Work In JavaScript?

It's even more slick with ES6 classes: class User { co...

Drawing in dev.to

I had some free time and write a script to enhance the page...

Intro to Generative Art

Shameless plug: I created Pencil.js for this kind of use. I l...

How can you swap two variables without using a third?

As funny as it is, you declare a new pointer to the swap fu...

Live coding streams recommendations?

The coding train is really great. The host is funny and exp...

Personal Site or Blog Recommendation

I had to copy everything by hand into my IDE. I also had to...

Who's looking for open source contributors? (September 17 edition)

The SVG syntax is part of the problem that push me to do Pe...

Who's looking for open source contributors? (September 17 edition)

Hi everyone, I'm still working on Pencil.js, a nice Javasc...

Personal Site or Blog Recommendation

I just export all my posts I wrote on Dev.to to Github Page...

The 7 Most Popular DEV Posts from the Past Week

I think it's just the sum of ❀️, πŸ¦„ and πŸ”–. At least, that's ...

What's your atomic bomb?

Well, I'll speak for my colleague, but overall: Here's the ...

What's your atomic bomb?

I currently write UI for a TV provider. It sometimes feels ...

We don't need a ternary operator

Indeed, that's part of my point. You can do without ternary...

Awesome projects under 1000 stars (1) - Badgen

Of course you can. As I said, I keep a list of project to d...

We don't need a ternary operator

IMO (in JS at least), binary operator use for non-binary ar...

I've been a programmer for over 20 years, watched the internet the grow up, ask Me Anything!

Can you expand on how relaxation help you as a developer ? ...

Should a library log its version number ?

Do you have an example ?

Should a library log its version number ?

My first thought was for discoverability. Some devs see som...

Should a library log its version number ?

For the records, I decide to not log anything in the consol...

Should a library log its version number ?

I agree with the polluted logs argument. But I can see some...

Should a library log its version number ?

By users I meant the ones using the lib so webdevs.

Should a library log its version number ?

IMO, it could help users to fill issues and help devs with ...

What to do when you've lost motivation to work?

The first remedy is change. If you're talking about profes...

Programming in the Adult Entertainment Industry is Broken

That sure would have been a wild party x)

Programming in the Adult Entertainment Industry is Broken

Seriously tho, do you get to meet all the stars?

Rethinking JavaScript: The complete elimination and eradication of JavaScript's this.

Sorry, but I honestly laugh at nothisAll(this)

Looking for a laptop

Have you tried their Pop!_OS ? It seems only be a ubuntu ov...

GitHub Graveyards: I'll show you mine...

Whoo you bring everyone down memory lane. I haven't such a...

I just published my first open source project. Here's what I've learnt.

Sorry I wasn't clear: I just ment that there is no dumb way...

Sadly, I must say goodbye to Leaf (my programming language)

Some of us (me included) aren't good at wrapping up project...

From data leak to account takeover

Nice post, I hope you warn the owner of said application. Y...

I just published my first open source project. Here's what I've learnt.

This is not bad at all. Your readme is clear and your code ...

How have you fund an open-source project ?

That's a nice way I haven't even considered. So, if I get i...

Do gifs bother you when reading an article?

Human attention can't be at peak all the time. For a good l...

The legends behind code

I can think of Steve Wozniak or Linus Torvalds. But my all ...

Who's looking for open source contributors? (August 6 edition)

Hi everyone, I'm building a nice modular interactive 2D dra...

Fantastic Personal Websites and How to Make Them

I don't think it's fantastic, but here's mine =) guillaume-...

Do we still need turbolinks/PJAX?

Browsers tends to get better and better at rendering pages ...

Who's looking for open source contributors? (July 31 edition)

This is a very nice idea. I really like the concept. I don'...

Who's looking for open source contributors? (July 31 edition)

Hi everyone, I'm still working on Pencil.js. Read this po...

Testing npm packages before publishing

Nice article. Just to add my 2 cents: If you're building a...

Spot the malware

A real attacker would need to change the code snippet on go...

How I published my first npm module

You can use npm link for the same result.

The dev.to codebase will go open-source on August 8

Awesome news ! Could you, in a near future, explain technic...

Daily Coding Puzzles

It's only JS and really hacky, but I've come to like alf.nu...

Animating Sprite Sheets With JavaScript

Nice article, I also cover this topic if someone want anoth...

Who's looking for open source contributors? (June 11 edition)

Please do so ! If you bump into problems, send me an email ...

Pry baby

Dev is especially hard because it's so vast and move really...

Let me explain to you what is `this`. (Javascript)

Without specific definition, this is the object wrapping th...

Changelog: Announcing DEV Connect! (Beta)

Any thoughts on that @ben ?

We need representatives! (syndicates, agents ...)

The difference between introverts and extroverts don't lie ...

We need representatives! (syndicates, agents ...)

I seriously love your ps2 idea. Having an agent to deal wit...

Changelog: Announcing DEV Connect! (Beta)

I don't completely get the "mutual follow" rule. If I'm a ...

Project Euler #1 - Multiples of 3 and 5

Smallest nitpicking ever: declare i inside the for loop. ...

Can you share your favorite quote or rule related to IT?

That's the thing I'm starting to learn over the years. It i...

Who's looking for open source contributors? (June 11 edition)

It's the same goal and it inspire me in the first place. Th...

πŸ€” THOUGHTS ON GITHUB

I agree with the "trust" part. But for me, hiring test are ...

Who's looking for open source contributors? (June 11 edition)

Hi everyone, As described in my last article, my Javascrip...

What I have learned from eight years of being a remote developer

Great article, easy to read and interesting all the way. Th...

What interesting things I can do with npm?

Don't want to be too much showy, but sub-packages are cool....

Hacking a bit of dev.to with CSS

Of course, I saw your footnote. But making an extension cou...

Can you share your favorite quote or rule related to IT?

Not specific to dev, but highly relevant : "Fail faster !...

Hacking a bit of dev.to with CSS

This is a great idea ! Honestly, you could build on this an...

Pencil.js

You welcome, and thank you for the nice comment. Please, us...

Pencil.js

Logo build with the library of course ;)

Pencil.js

Please, share what you did I would love to see it.

Pencil.js

Shoot :/ What were you trying to do ? For my part, examples...

What's your favorite editor/terminal color scheme?

Fira is the best!

Can (aοΎ  == 1 && a == 2 && οΎ a == 3) equal true?

As long as it's 3 different variables, the === operator wil...

Why I Love Remote Working

Very nice and thorough article. IMO, office as we see them ...

HTML5 canvas - part 3: Images

Hi Matthew, I never tried this, but you inspire me to. And...

What was your first ever contribution to Open Source?

I add a listener to the Escape key to close options panel o...

Maintainable Options Parameters for Functions in JavaScript

This is a great syntaxe I sometimes try to abide. Little dr...

hasOwnProperty considered harmful

hasOwnPropery is a great way to prevent you from looping th...

Why do employers check job candidates' GitHub profiles?

I would disagree with you on this one. Company have to know...

Why you're hitting dead ends in whiteboard interviews

Hi Parker, Being asked to throw some code on a whiteboard ...

HTML5 canvas - part 1: Drawing

Hi David o/ The link you provide did't use <canvas>. ...

HTML5 canvas - part 1: Drawing

Thanks for you comments, it's heartwarming. Hope I could te...

HTML5 canvas - part 1: Drawing

See you soon for part 2. And, don't hesitate to share some ...

HTML5 canvas - part 1: Drawing

github.com/GMartigny/pencil.js When great minds collide ;)

Pixelate characters with canvas, and draw generative art!

Nice results ! I used pretty much the same technique to mak...

The Common Enemy, JavaScript's "This" Keyword Saves The Day

Just remember that being a developer mean nothing more than...

You're going out of scope, again.

Hi Poof, Technical debt is struggle for everyone. I have (...

The Art of Minimalism with UX

As ugly as it is, Ling's Cars site is indeed amazing. Of co...

One of the coolest parts about the web is being eroded

Funny to note that the same is true for mechanical engineer...

The power of jsDoc

I like this idea of a different file for the documentation,...

The power of jsDoc

Nice comment, laying a more TypeScript approach. My point ...

The power of jsDoc

Personally, I use and abuse of the autocomplete (as you cer...

PWAs are going to eat the (app) world

@supermanitu , why do you say "this is not a good thing" fo...

Javascript Algorithms Challenges | Part 2

Hi, Just a minor nitpicking, you can format your code for a...

Who's looking for open source contributors? (April 2 edition)

Hi all, I'm currently building a 2D drawing library in Jav...

Why I switched to Linux and what I'm using Today

Hi, Linux for devs is a must ! Even just because every othe...

How to make functions partially applicable in Javascript

If you don't care for readability, you can write it as a ti...

How to code like playing LEGOβ„’

Thanks for your comment. The code is pure ES6 syntax (no po...

Self Documenting code isn't

In the Javascript realm, I think jsDoc is a must ! It's eas...

Is `this` in Javascript bad?

It completely shatter the prototype which is bad IMO. Your ...

loading...
Forem Open with the Forem app