All 165 Comments

re: ๐Ÿ”ฅ 10 Tips for Developers according to Twitter Apr 19
Don't code when you're hungry, thirsty, tired, preoccupied ...
re: I created an IE11 end of support countdown Apr 17
As a little ironic joke, I made sure that this little app ...
re: Dragula: A free stock images tool on steroids ๐Ÿฆ‡ Apr 7
At first it will be very hard for you to be found on Google...
re: Use $ & $$ Instead of document.querySelector/All in JavaScript without jQuery Apr 3
Watch out that querySelectorAll returns a NodeList object, ...
re: Dragula: A free stock images tool on steroids ๐Ÿฆ‡ Mar 31
Yeah, I was about to comment the same thing. Dragula by Nic...
re: 10 HTML Elements You Didn't Know You Needed Mar 18
I would mention <dialog>, although its support isn't ...
re: Webpack Basics Mar 18
Oh yes ๐Ÿ™‚ Of course, since I wrote that comment a couple of ...
re: Nevertheless, Ali Coded Mar 8
Oh wow, this is so cringe worthy, I feel embarrassed myself...
re: Welcome Thread - v29 Feb 21
So nice to see you here, John! ๐Ÿ™Œ You've always been a great...
re: Why I prefer objects over switch statements Feb 18
Nice. On the down side, you have to be careful that no more...
re: Gradians and Turns: the quiet heroes of CSS angles Feb 7
Gradians have theirs perks, but on the other hand: nobody...
re: Quick Tip to Stop Flexbox from Overflowing Jan 26
The sad part is that it's so counterintuitive that it's bou...
re: Where to initiate data load in NgRx Jan 24
I was about to say the same thing. Actually, dispatching on...
re: New Years and New Beginnings: I'm Joining the DEV team! Jan 10
Congratulations, Ali! You've been an awesome part of this c...
re: When programming on a laptop: Mouse or Trackpad? Jan 2
Hahaha that's great! ๐Ÿ˜† Trackballs were more common once (la...
re: Microsoft is building a Chromium based browser! ๐Ÿ˜ฒ Dec 5 '18
Honestly, I'd rather have EdgeHTML made open source than di...
re: Advent of Code is Live! Dec 2 '18
Oh yes, here's my repo, also with the links to the repos fo...
re: No Cutting Corners Cutting Corners Nov 26 '18
Well written - and also funny - article. Thank you! Maybe y...
re: How to remove duplicate elements from array javascript Nov 26 '18
Don't use map unless you're returning something: use forEac...
re: I'm an email developer and totally not a spammer. Ask me anything. Nov 16 '18
What would you suggest to use in case of building a custom ...
re: Write a script to find "Perfect Numbers" Nov 13 '18
You're... not expecting fast implementations, are you? ๐Ÿคจ U...
re: How Classes work in JavaScript Nov 11 '18
Classes are the syntactic sugar I'd say they mostly are,...
re: Books I found at my parents' Nov 7 '18
"Linguaggio C" is in Italian... Are you or your parents Ita...
re: An example of why performance matters (with Python and Rust) Nov 6 '18
So he went from 1000$ a month to 0 a month, by rewriting a...
re: Which units of measure do you use and why in CSS? Oct 24 '18
I personally use em and rem a lot. But there are cases and ...
re: Where are the old developers? Oct 10 '18
I'm not an "old" developer (although I'm not young either),...
re: setTimeout is a callback-style function. What would happen if we change that? Oct 9 '18
Yes, that could work! ๐Ÿ™Œ You can also consider the approach...
re: setTimeout is a callback-style function. What would happen if we change that? Oct 9 '18
Ok, that's so cool but... what about clearTimeout? Because...
re: All you need to know about destructuring in JavaScript Oct 9 '18
Huh, I don't know if it was intentionally funny, but destru...
re: How I structure my REST APIs Oct 4 '18
I think you should mention earlier that you're using Expres...
re: Quick CSS Quiz #1 Sep 29 '18
Hey folks, remember that margin collapsing happens only ver...
re: Sure you want to leave?โ€”browser beforeunload event Sep 18 '18
I've always found those notifications annoying but eh, they...
re: Async/Await and the forEach Pit of Despair Sep 14 '18
Best article intro ever.
re: What is Your Opinion about CSS(-in-JS)? Sep 11 '18
Currently, CSS suffers some long-dated problems: interact...
re: We don't need a ternary operator Sep 7 '18
Because what you actually want is an if-then-else path. The...
re: We don't need a ternary operator Sep 7 '18
No, just... no. The ternary operator is better than logical...
re: Setting up Storybook for Preact Sep 4 '18
That's unfortunate that we have to do this extra job for Pr...
re: Could you explain #likeimfive the meaning of these programming languages as humans? Sep 3 '18
Eh, somewhat. I still don't understand what's holding them ...
re: Which browsers should I try to support when creating a portfolio? Aug 26 '18
IE10 isn't supported anymore, for us it's IE11 or pay more....
re: Most underrated plugins for VS code Jul 30 '18
Keep in mind that the exact combination depends on the keyb...
re: How To implement Lazy Loading in Angular Jul 21 '18
That's dynamically creating component instances, not compon...
re: I have $1,000 for use for technical stuff provided by my company, what should I get? Jul 18 '18
Coffee.
re: Disassembling apps to 'Ok Google' my garage Jul 16 '18
Ahahah that's awesome, Sam! I'll finish to read this later ...
re: What newsletters are you subscribed to? Jul 12 '18
Only two, because there's no other way: Umaar Hansa's De...
re: The dev.to codebase will go open-source on August 8 Jul 11 '18
Woah, this is awesome, Ben! ๐Ÿ™Œ Great move! I'll be happy to ...
re: I'm Addy Osmani, Ask Me Anything! Jul 11 '18
Hello Addy, so nice to have you here! We often talk about ...
re: Daily Coding Puzzles Jul 10 '18
Day 4 (Project Euler #2) has been already proposed by @pete...
re: TypeScript tips from Kotlin developer - const Jul 10 '18
Oh, not just in TypeScript: in JavaScript too. That's an ad...
re: Solve the Cretan maze Jun 25 '18
This is nice. One question: if I make a step, what's the "O...
re: JavaScript: Equality insanity, or where x === 1 && x === 2 Jun 16 '18
Very nice article. Have you heard of this challenge? retur...
re: The new (and old) CSS units you've never heard about Jun 14 '18
Exactly. 16/10 is, after all, equal to 1.6 ๐Ÿ™‚
re: The new (and old) CSS units you've never heard about Jun 14 '18
Ah, tell me about it ๐Ÿ˜„ It should be coming, though. Alas, n...
re: Project Euler #2 - Even Fibonacci numbers Jun 14 '18
I applaud your solution, fellow math lover! ๐Ÿ‘
re: Project Euler #2 - Even Fibonacci numbers Jun 14 '18
Yes, indeed. I am in fact using just plain double precision...
re: Project Euler #2 - Even Fibonacci numbers Jun 13 '18
Math to the rescue again! To compute the n-th Fibonacci num...
re: The new (and old) CSS units you've never heard about Jun 12 '18
In awe at the wit of this comment. You win this:
re: The new (and old) CSS units you've never heard about Jun 11 '18
vmin and vmax are actually as old as vw and vh, both on Lev...
re: Project Euler #1 - Multiples of 3 and 5 Jun 11 '18
I'll take a mathematical approach. The sum of the first n ...
re: How do I use .forEach on DOM Elements? Jun 11 '18
You don't have to go far - if you have Windows and IE11 ins...
re: I "Love" Anti-patterns Jun 10 '18
Nice article. I can't say more because I don't want to dis...
re: How do I use .forEach on DOM Elements? Jun 10 '18
There are some methods that don't make much sense in relati...
re: How do I use .forEach on DOM Elements? Jun 9 '18
A small correction: you used document.getElementsByClassNam...
re: Quick and easy way of counting UTF-8 characters in Javascript Jun 8 '18
That method unfortunately fails for more complex cases, lik...
re: What I think is bad about Microsoft acquiring GitHub Jun 7 '18
I've updated the post reporting Nat Friedman's words about ...
re: What I think is bad about Microsoft acquiring GitHub Jun 5 '18
Ooh, I completely forgot about Gitter bought by GitLab! Tha...
re: What do you dislike about your favorite language? Jun 4 '18
FYI: there are indeed types existing in JavaScript. I kn...
re: Microsoft GitHub Acquisition: Thoughts of a Full-time Open Source Developer Jun 4 '18
Very good Ahmad. I think you're right on points 1, 2, 3, 4,...
re: What do you dislike about your favorite language? Jun 4 '18
?! Granted that its goal is to provide a representation wit...
re: What do you dislike about your favorite language? Jun 4 '18
That's easy: there are no types in JavaScript (and it will ...
re: What's your opinion on Microsoft's GitHub Acquisition? Jun 3 '18
I'm confident that it mostly won't change a thing. I don't...
re: What's your opinion on Microsoft's GitHub Acquisition? Jun 3 '18
I really loathe the idea that GitHub is now a Microsoft thi...
re: How To implement Lazy Loading in Angular May 28 '18
I wish Angular had component-based lazy loading...
re: Getting Started with AWS Lambda and Node.js May 27 '18
Awesome, thank you! :D
re: Getting Started with AWS Lambda and Node.js May 26 '18
Nice one, Adnan. I'm bookmarking this article. It would be ...
re: What Are :before and :after Pseudo Elements? May 22 '18
Unless you're targeting IE8 without Autoprefixer or similar...
re: A Keyboard Display using CSS Grid Apr 17 '18
Too bad grid doesn't support non-rectangular areas ๐Ÿ˜ You co...
re: Open Source Munitions Apr 13 '18
That's even crazier than software patents. Those laws basic...
re: How does your company handle salary negotiation? Apr 7 '18
I work at a small company (~40 people) and... well, the fir...
re: On Being An Abrasive Woman (In Tech) Apr 4 '18
Thank you for clearing all out for me. I mentioned screami...
re: On Being An Abrasive Woman (In Tech) Apr 4 '18
It sounds like a lot of misunderstanding there, and overall...
re: Tooling - the orphan child of web development? Apr 3 '18
Mmm... No, I'm not convinced. If I wanted to use an IDE fo...
re: What's the weirdest easter egg you've left in any project you coded? Apr 2 '18
When I was a junior and had quite some spare time, I coded ...
re: When did you stop thinking of yourself as a junior/newbie? Apr 1 '18
I second this thought. Being able to see a project in all ...
re: Changelog: Suggested follows on onboarding! Mar 27 '18
Haha I don't mind! It actually reminds me that I have to wr...
re: Changelog: Suggested follows on onboarding! Mar 27 '18
Ooooh so that's why! ๐Ÿ˜ฎ
re: Smooshing JavaScript Mar 11 '18
They are. Of course MooTools' usage in new projects is negl...
re: Glitch: You're Not in the Matrix Feb 28 '18
Does it happen to any of you that editing an new, empty pro...
re: Describe the worst coding culture you've been a part of Feb 2 '18
I started with a small (10-12 people) company whose main bu...
re: Ruby 2.5.0 Was Released Dec 26 '17
Ruby Ruby 2.5.0 ๐Ÿ˜ Ruby Ruby Ruby Ruby!
re: I Need jQuery Dec 26 '17
I Need jQuery No, you don't. You can find it useful, and...
re: Things that weren't so obvious when you started to program in Python Dec 25 '17
That "one-line conditional" is basically the ternary operat...
re: Regex was taking 5 days to run. So I built a tool that did it in 15 minutes. Dec 12 '17
The language and what you can do with it is standardized -...
re: Regex was taking 5 days to run. So I built a tool that did it in 15 minutes. Dec 11 '17
Whenever you can use re, you should, because it's the abso...
re: Regex was taking 5 days to run. So I built a tool that did it in 15 minutes. Dec 10 '17
I've read your article on Medium, and my reaction was that ...
re: Why I leave a job Nov 21 '17
And don't forget: you must have the courage to actually lea...
re: forEach - filter 0-1 Nov 20 '17
Yeah, they should. If you're a junior developer, you shoul...
re: forEach - filter 0-1 Nov 18 '17
We would use a forEach loop, right? Uh, no? ๐Ÿ˜… Given tha...
re: Conway's Game of Life w/ FFmpeg Nov 16 '17
Is this just an Easter egg?
re: How to Scrape Instagram Profiles Nov 13 '17
Lea Verou recently asked on Twitter if there was some kind ...
re: If She Can See It, She Can Be It Nov 6 '17
Indeed, the whole diversity issue in STEM fields is a matte...
re: Sleep Sort: Where Theory meets Sobering Reality Oct 29 '17
This article started as a joke or funny idea, but it ended ...
re: Do you ever get frustrated with your Junior Developer(s)? Oct 11 '17
I do. And it's not because they ask questions so frequentl...
re: An introduction to Vue.js - Chapter 1 - Basic Setup Sep 19 '17
That would be great!
re: Lending Privilege Sep 19 '17
Happy birthday, Ben! Sorry I'm a bit late XD
re: IDE-isms - How does your IDE affect your coding style? Sep 19 '17
Huh, never thought about it. But I guess it makes sense. I ...
re: Dark theme for dev.to? Sep 19 '17
Whatever you do, please make it so dev.to remains blazing f...
re: Dark theme for dev.to? Sep 19 '17
Because habits? Because it's the web's default? There's al...
re: An introduction to Vue.js - Chapter 1 - Basic Setup Sep 19 '17
you should not use the Webpack ecosystem Well, it's not ...
re: An introduction to Vue.js - Chapter 1 - Basic Setup Sep 18 '17
Some words about your argument Webpack could get a thing o...
re: An introduction to Vue.js - Chapter 1 - Basic Setup Sep 18 '17
I like the way using ES6 modules Sadly you're not just u...
re: รฐลธโ€ยฅ WordPress-React Breakup: Suggest A JavaScript Framework to WordPress & Tell Why? [POLL] Sep 16 '17
Why all those *JS? It's React, not ReactJS, just like it's ...
re: 16 Best Source Code Gems [Collection] Sep 16 '17
#10 Someone actually reads xkcd: xkcd.com/221/
re: Finally switching to vim Sep 15 '17
If you really take the time to learn it, it can make you m...
re: Finally switching to vim Sep 14 '17
The most important thing about vim is that you can't just ...
re: I'm a Git Master, Ask Me Anything Sep 13 '17
Personally I think Git offers an abysmal interface, conceiv...
re: Parsing Config Files The Right Way Sep 11 '17
YAML is a superset of JSON but its specification is more p...
re: Parsing Config Files The Right Way Sep 10 '17
File is easier to read for humans. Compare: follows overl...
re: Angular 4 Features introduced in 2017 Sep 2 '17
There are plans to include this feature in v4.1, though. ...
re: Using A NodeList as an Array: A Practical Use for Object Composition Sep 2 '17
There are some issues in this article. I can guess some of ...
re: Remove all console.log()s using Regex in Atom Sep 1 '17
console.log's happen and you don't always catch them. Not e...
re: Remove all console.log()s using Regex in Atom Sep 1 '17
The could would be shipped in production anyway, unless you...
re: On lowering the bar Aug 26 '17
Technically, you can still speak. And freely. But that's al...
re: On lowering the bar Aug 25 '17
That's a great analogy, Ben! Gonna steal it for my next co...
re: Typical JavaScript interview exercises (explained) Aug 24 '17
This is dirty, right? ๐Ÿค  Maybe, but explain why. The seco...
re: Go vsร‚ .NET Core in terms of HTTP performance Aug 19 '17
That's a good point, but in the end it depends on what we w...
re: How I chose my Code Editor Aug 16 '17
Switched to Vim because all the cool kids were doing it. ...
re: I'm Wes Bos, Ask Me Anything! Aug 9 '17
Oh, you! ๐Ÿ˜‚
re: I'm Wes Bos, Ask Me Anything! Aug 9 '17
Hey Wes, another question, as silly as it sounds: are you a...
re: I'm Wes Bos, Ask Me Anything! Aug 9 '17
Hello Wes - and thanks for the stickers! What are you most...
re: Why using Yoda conditions you should probably not be Aug 3 '17
Can you really call it a "Yoda condition"? Yoda conditions...
re: Why using Yoda conditions you should probably not be Aug 3 '17
Linters That's all we need. Linters can easily catch probl...
re: Webpack Basics Jul 22 '17
I still think that whoever engineered Webpack's configurati...
re: Native vs. Hybrid: do users really care? Jul 18 '17
There's another case that's going to be ubiquitous. If you ...
re: What are your biggest struggles in learning JavaScript? Jul 14 '17
Declaring a "class" with a function, and adding methods dyn...
re: Support Net Neutrality Jul 12 '17
I don't live in the US but it's very important that Net Neu...
re: My Journey to the Vast World of Text Editors Jul 1 '17
If the description says correctly, you're 21 and you've alr...
re: What fonts do you use in your editor(s)? Jun 21 '17
Wait, is there a monospace version of Comic Sans? That's p...
re: Did you know that JavaScript has had labels since ES3?!? Jun 21 '17
I actually knew about that, but really, it's more of a curi...
re: What could be better than pizza and beer? Why you need to provide more inclusive food at your tech event. Jun 19 '17
The problem struck me recently. Personally I'm not allergic...
re: Useful JS functions you aren't using: Array.map Jun 11 '17
On the contrary, juniors should get to know the FP side of ...
re: Useful JS functions you aren't using: Array.map Jun 11 '17
Another addition is that methods like map (and also forEach...
re: Donโ€™t pay the for-loop tax Jun 3 '17
Ah, crud, you're out of luck then XD I think the aim of th...
re: Donโ€™t pay the for-loop tax Jun 3 '17
Indeed, the performance penalties of functional programming...
re: Donโ€™t pay the for-loop tax Jun 3 '17
If that's still JavaScript (could be even C or Java), it co...
re: Donโ€™t pay the for-loop tax Jun 3 '17
Indeed, but as a reminder there are methods that allow you ...
re: Donโ€™t pay the for-loop tax Jun 3 '17
This expands the array and may cause it to reallocate in m...
re: Microsoft is absolutely at fault for WannaCry May 18 '17
I think nobody with a minimal understanding of software dev...
re: Microsoft is absolutely at fault for WannaCry May 18 '17
if you think there are no backdoors being placed intention...
re: Stack Overflow released a new mobile app May 16 '17
I think it could have been the perfect scenario for a Progr...
re: What's playing in your headphones while you code? Apr 26 '17
I've created several playlists, divided by genre, that I li...
re: Roughing It Dev Style: Coding Without a Computer Apr 20 '17
Termux is indeed great! Combine it with Hacker's Keyboard a...
re: Moving beyond localStorage Mar 1 '17
IndexedDB had some notable implementation bugs in the past,...
re: DOM elements with ID's are global variables Feb 24 '17
Yes, that's actually a very old behaviour. As old as Intern...
re: Global Scope Discussion (Jan 31) Feb 1 '17
Well the first thing on my mind right now is kinda code rel...
re: How did you get into programming in the first place? Jan 29 '17
As an amateur, when I was something like 8 my father thaugh...
re: Whatโ€™s the most interesting new or upcoming browser feature? Jan 22 '17
I might be trivial, but it's ES6 modules for me, including ...
re: What's playing in your headphones while you code? Jan 19 '17
Varies a lot - from soothing moods to metal. Lately, I've b...
re: What are your favorite non-programming books? Jan 17 '17
Isaac Asimov's short stories and novels: pure genius.
re: What are your tips for avoiding burnout? Jan 12 '17
Always get your rightful sleep. Never, ever get into sleep ...
loading...