All 191 Comments

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