All 178 Comments

re: Flow, a path to happiness
My first reaction to the title was: hmm, I thought TypeScri...
re: All (or just most) of what you need to know about handling Promises
Yeah, as Joel mentioned, you can return promises to get one...
re: All (or just most) of what you need to know about handling Promises
What's the reason to have promise hell in the first example...
re: My Top Plugins for a GatsbyJS Powered Blog
I can add these two plugins that make my life easier: gatsb...
re: Ask a professional React/JavaScript developer anything!
Do you use async/await or prefer plain promises in your pro...
re: πŸ”₯ Learn React in 10 Tweets (with hooks)
Btw, I still prefer to use class components instead of hook...
re: πŸ”₯ Learn React in 10 Tweets (with hooks)
I see only one change of modern React compared to React 3 y...
re: Discovery.js tutorials: quick start
This is a great tool to analyze JSON data. TIL that it's no...
re: ELI5: Git Rebase vs. Merge
It's possible to backtrack to specific commits and git-bise...
re: Understanding Gatsby's Lifecycle
Great post, finally the explanation of of gatsby-*.js files...
re: Can You Replace Redux with React Hooks?
Thanks for the post. I agree that redux seems to be the bes...
re: Why you should stop declaring variables inside a for loop (especially in JavaScript)
In Javascript, there isn't a Garbage collector system, so ...
re: Is Blogging Useful?
I'm doing my first steps in blogging and your article is re...
re: Why do we need to bind methods inside our class component’s constructor?
Why React doesn't bind functions internally? It seems it's ...
re: My 5 favorite resources for learning JavaScript
MDN is Wikipedia for JavaScript
re: Top 5 DEV Comments from the Past Week
Amazingly awesome! πŸ€“
re: Sets in JavaScript
Agree. Sets also don't have array methods like map/filter/r...
re: Sets in JavaScript
Why? We can use forEach method on Sets to iterate the colle...
re: β€œhref” vs. β€œsrc” in HTML
re: The League of (Five) Extraordinary Javascript Resources
Thanks for the links! Now I know what content I can fill my...
re: JavaScript: Creeping into this (Exercise)
That was a tough adventure. Couple of my answers were wrong...
re: Getting more value from reading
I liked that "Case of the Weeping Mermaid" has it's place a...
re: Why (! + [] + [] + ![]).length is 9
If I'm not sure what's going on with the JS code, I use AST...
re: What 10x engineer means?
10x engineer writes 80% of code while others are busy on me...
re: Happy Birthday Ali Spittel
Happy birthday, Ali! πŸŽ‰πŸŽ‰πŸŽ‰
re: What makes you choose the language you write your articles in?
I have the same goals when I write articles in english. Als...
re: A few JavaScript puzzlers
Good puzzles to think about. Couple minutes of thinking a...
re: Lexical Environment-the hidden part to understand Closures
Nice explanation of internal JavaScript processes. Also I c...
re: So you think you know JavaScript?
Great post, would like to see more like this πŸ‘ My answers t...
re: Who is JSON?
I also find it valuable to stringify JSON in a readable for...
re: I tried 10 programming languages and I liked it
Thanks, this is really insightful. My perception of assembl...
re: I tried 10 programming languages and I liked it
Are you serious? Programs written with Assembler are long a...
re: I tried 10 programming languages and I liked it
Hehe, I think that in this case the post'd take a couple of...
re: Everything you need to know about Node.js
Well, if a separate worker and main thread are executed in ...
re: I tried 10 programming languages and I liked it
I know JavaScript only. Most of other languages in this pos...
re: I tried 10 programming languages and I liked it
Go next time πŸ˜‰
re: Some people try to solve problems using threads...
Sometimes async I/O is not enough. What about heavy CPU cal...
re: Everything you need to know about Node.js
Thanks for the great post! Let's say I need a worker to do...
re: I tried 10 programming languages and I liked it
Yep, maybe it was not a good idea to inject repl.it sandbox...
re: What's one thing you wish you knew before you started programming?
Try every possible way of learning you can find, but stick ...
re: Don't miss out on css variables
Settings -> misc -> style customization
re: The Best Book to Read as a Developer
This book is what I've been looking for!
re: Svelte is the most beautiful web framework I've ever seen
I tried the official tutorial and having full component def...
re: The Three Most Common Refactoring Opportunities You Are Likely To Encounter
I am a huge fan of the DEV community. If you have any ques...
re: How to publish a PWA on the Google Play store
Thanks for the post! Is there any chance to upload PWA to t...
re: Understanding Generators in Javascript - Javascript weekly
Conditions functions should exist somewhere. I think it's a...
re: Understanding Generators in Javascript - Javascript weekly
Thanks for the example. The same result might be achieved b...
re: Svelte is the most beautiful web framework I've ever seen
Thanks for the addition, my interest to Svelte grows up wit...
re: Svelte is the most beautiful web framework I've ever seen
Thanks for the answer, it's much clearer now. I guess I nee...
re: Svelte is the most beautiful web framework I've ever seen
I know nothing about Svelte, so two noob questions. Svelt...
re: What is your favourite Git command?
Yep, WebStorm also has this handy feature showing an author...
re: Understanding Generators in Javascript - Javascript weekly
I thought generators is more like a funny toy in javascript...
re: Tips and Tricks for Better JavaScript Conditionals and Match Criteria
Nice tips! It should be kept in mind that some features fro...
re: Compiling vs Polyfills with Babel (JavaScript)
I've learned the difference of transpiling vs polyfilling w...
re: What Advice Would You Give Your 20-year-old Self?
+100 for open mind. I had mental blocks for many categories...
re: JavaScript and Scope VI - Closures
Thanks for the great series explaining how scopes work in J...
re: What was the moment you realized you weren’t such a newbie anymore?
I have this feeling when I read other devs code and see man...
re: Confused by JavaScript's const? Me too!
Yes, objects are passed by reference, but there are no poin...
re: THE best git commands
This post by Christopher Kade with practice examples of how...
re: Typescript: First thoughts
You keep saying that you can eliminate extra KB in js by co...
re: How to Get Smarter Without Knowing Anything
Sure, I'd be happy if you update your post with my comment!
re: Typescript: First thoughts
Processing media files and js files is very different for a...
re: How to Get Smarter Without Knowing Anything
Thanks for the great post! I want to add that it's really i...
re: Typescript: First thoughts
If I had a need for a modern typed javascript variant I wo...
re: How to navigate complex objects in 1 line of js
Great one-line helper! I think the post misses the the moti...
re: Become the junior developer that companies want to hire.
Great thorough article how to build a software developer ca...
re: The math behind reading 30 books per year
I prefer to listen audiobooks while on my way to work/home....
re: Learning to love software development books πŸ’™
I read a lot of technical books when I was starting program...
re: Learning to love software development books πŸ’™
Never heard about "Land of Lisp" book before, but the Music...
re: Up your Git game and clean up your history
Thanks for the post, very good practical examples to try re...
re: Demystifying Array.prototype.flat
I'm nitpicking here, but arr.flat(1) === arr.flat() ...
re: Should a button communicate the current state, the intended behavior, or both?
What about touch devices? They don't have hover effects.
re: Interview Question Journey - Currying, Closures, Type Coercion, oh my 😱
Thanks for sharing, I like how you go deeper with add funct...
re: If you had to live with only 5 dev tools, what would they be?
Yeah, Redmine is little bit outdated, but it's superfast. I...
re: Interview Question Journey - Currying, Closures, Type Coercion, oh my 😱
Wow, thanks for the such detailed comment! I did not think ...
re: If you had to live with only 5 dev tools, what would they be?
PHPStorm Git Npm Browser dev tools Redmine/jira
re: Interview Question Journey - Currying, Closures, Type Coercion, oh my 😱
Well, I was not happy with this task as well. It took me ab...
re: How to write code and snowboard every day
Ben, how's it going 6 months later?
re: Sets in JavaScript
Is it correct to say that Set is like array, but with uniqu...
re: Sets in JavaScript
AFAIK, Set.has implementation in V8 is really fast - it has...
re: Refactoring JavaScript for Performance and Readability (with Examples!)
I prefer the refactored code, because from the variables na...
re: Demystifying "const" variables in JavaScript
Thanks for the post. I use const only for constants in top-...
re: My Top 10 Programming Proverbs
There is also The Zen of Python
re: If Javascript Is Single Threaded, How Is It Asynchronous?
Ahaha, awesome! πŸ˜‚
re: What's your preferred method for inserting DOM elements in vanilla JS?
Handling complex DOM manipulations with vanillaJS is tough....
re: Using arrow functions might be costing you performance
Agree!
re: Using arrow functions might be costing you performance
In my test run the results are almost the same for all thre...
re: If Javascript Is Single Threaded, How Is It Asynchronous?
It also poorly works with floats (ex. [1.5, 1.4, 1.3, 1.2, ...
re: If Javascript Is Single Threaded, How Is It Asynchronous?
Well, it's a joke and shouldn't be used anywhere in product...
re: If Javascript Is Single Threaded, How Is It Asynchronous?
I like asynchronous nature of javascript because it helps m...
re: 3 React Interview Questions for Junior Devs
Thanks for the post, I think all three questions are good t...
re: Anybody still working with jQuery?
Yeah, my current project is on the bleeding edge of technol...
re: JavaScript : What happens with the browser ?
And then finally we have another little mini program calle...
re: How do you limit or avoid procrastination?
Is it correct to consider dev.to as social media for develo...
re: You don't have to use Redux
According to the comments, it seems the only way to structu...
re: You don’t always need to import React
Here's a dirty hack to avoid importing React in every file ...
re: Using arrow functions might be costing you performance
Actually jsPerf shows that arrow functions with implicit re...
re: A lazy developer is a good developer, 10 windows shortcuts you should know
Great list of shortcuts! I also use Win + L everyday to bl...
re: Project Euler #7 - 10001st prime
JS function getPrimes(max) { let arr = new Array(max)....
re: Project Euler #5 - Finding the Smallest Multiple
You do agree that the problem is implicitly asking you to ...
re: Project Euler #5 - Finding the Smallest Multiple
Let's follow your algorithm for the range 1 to 10 (for simp...
re: Project Euler #5 - Finding the Smallest Multiple
I like your way of thought and clean explanation. It's grea...
re: Project Euler #5 - Finding the Smallest Multiple
+1 for 'think before you act'. I wrote my initial comment ...
re: Project Euler #5 - Finding the Smallest Multiple
I really like "make it work, then make it fast" approach. F...
re: What's something you couldn't work without?
That makes sence, thanks.
re: What's something you couldn't work without?
I'm just curious what's the benefit of having 8 open termin...
re: What's something you couldn't work without?
+1. For some reason couple of days ago SO wasn't available ...
re: Project Euler #5 - Finding the Smallest Multiple
Bruteforce node solution 🀣 const assert = require('asser...
re: Three Arguments for Why You Should Write More
Great post, thanks. I've indeed noticed that day-to-day wri...
re: CSS games are fun!
It's mindblowing that it's possible to add such level of in...
re: What is your favorite interview question?
What were your last pain and how did you overcome it?
re: What are you reading right now?
The Disappearing Spoon by Sam Kean. A wonderful journey to ...
re: Web Application Frameworks
AngularJS, but not Angular? React + ecosystem?
re: Terrible interview question: Swap variables without a temporary
This solution looks good, but it doesn't qualify for the re...
re: DevTools - My Favorite Tips and Tricks
When debugging I like to clear the noise in network tab by ...
re: What are your worst coding habits?
It's hard for me to work with poorly written legacy code. F...
re: Top Insights on Technical Interviews, From the Perspective of a Technical Interviewer
Sorry, I can't understand your reply clearly. I mean that i...
re: Top Insights on Technical Interviews, From the Perspective of a Technical Interviewer
The interviewer isn't allowed to intervene if you start an...
re: My Favorite Data Visualization and Dataset Resources
I really like observable tool for visualizing data. For exa...
re: What are you "old enough to remember" in software development?
I remember building games in Borland Delphi. Creating inter...
re: I have been programming since I'm 10, Ask Me Anything!
In my experience Google bot is able to crawl content even f...
re: Write faster JavaScript
You say that it's good for performance to reuse functions (...
re: Write faster JavaScript
I agree that performance matters. But premature optimizatio...
re: I have been programming since I'm 10, Ask Me Anything!
I haven't heard about prerender-spa-plugin before, will giv...
re: I have been programming since I'm 10, Ask Me Anything!
What tools do you use to prebuild your Vue.js applications ...
re: Solving Puzzles With High-Performance JavaScript
Thanks for the illustration how to solve problems iterative...
re: In your opinion, what is the most confusing part of JavaScript?
It's a very rare case when you work on a project alone. Oth...
re: I've been coding for 20 years, Ask Me Anything!
Do you want to be a PHP developer for another 20 years?
re: In your opinion, what is the most confusing part of JavaScript?
Type coercion is definitely not obvious in JavaScript []...
re: How to choose the best structure for react applications?
Dan Abramov wrote a comprehensive guide how to structure Re...
re: How to copy props in react dev tools
Nice tip! There is also an easier way - just right-click on...
re: Learn React JS in 5 minutesβ€Šβ€”β€ŠA tutorial for beginners
Nice introduction to React. The reason we’re writing {thi...
re: Joining the DEV team βœ…
Congratulations, Anna!
re: A Tiny Project, From Inception to Deployment
Great post describing the full process from idea to product...
re: Bubble Sort In JavaScript
Yeah, visualgo is a great resource to grasp algorithms by v...
re: ELI5: How does someone write a new computer language?
Thanks!
re: ELI5: How does someone write a new computer language?
Do all compilers transform source code to AST? Are there a...
re: Bubble Sort In JavaScript
Two years ago on interview I was asked to write bubble sort...
re: If you could change one thing about learning to code, what would it be?
I think my biggest mistake was to read a lot instead of pra...
re: ELI5: Git Rebase vs. Merge
I might be miss something, but I always merge. What is the ...
re: I failed last onsite step of Facebook interview at Dublin, Ask Me Anything!
How long have you been programming in Ruby before interview...
re: A Primer on Basic Electronics and Circuits
Great introduction post, looking forward for the next tutor...
re: What is State in React?
With hooks it's possible to have state in functional compon...
re: I Computer Science Student in Israel, Ask Me Anything!
What is the preferred career path among students after grad...
re: I am a software consultant, Ask Me Anything!
Let's say I'm a product owner and I have a project and a te...
re: Linting in JavaScript with ESLint
The npm script "lint": "./node_modules/.bin/eslint ./src" c...
re: What are your favorite programming metaphors for non-technical folks?
This is a nice illustration of over-engineering.
re: So, you want to be a Freelance Developer
I agree that there are a lot of crappy jobs there. But what...
re: So, you want to be a Freelance Developer
What do you think about upwork? I thought it's #1 resource ...
re: The issue with export default
Stop using export default. Other team members import your ...
re: Skill as a Function of Interest
Wow, 497 projects in Scrath 🀯 That's impressive!
re: I'm a senior "DevOps" consultant in the Midwest, Ask Me Anything!
Thanks for the detailed reply!
re: I'm a senior "DevOps" consultant in the Midwest, Ask Me Anything!
How your typical day looks like? I know nothing about DevOp...
re: Free book to learn JavaScript
Why? You can read the book's content with no charge on GitH...
re: When npm tells you you're hosed
I used yarn when npm didn't have package-lock by default. N...
re: React Visualization Libraries in 2019
Thanks for sharing. I used react-vis for one project and it...
re: My Top 3 JavaScript Array Methods
+1 for map. It's a really great and clean method to transfo...
re: Push git cloned repository to your own on GitHub
It's not necessary to remove old origin and create a new on...
re: Formatting dates with JavaScript
Oh, I'll definitely take a look at your next article to che...
re: Formatting dates with JavaScript
Many times I started projects without dates libraries depen...
re: React Visualization Libraries in 2019
So, what graph library have you selected for your project a...
re: Thoughts on migrating to TypeScript and improving the overall quality of the frontend DEV codebase
Oh, I didn't know that I can run typescript compiler on jav...
re: Thoughts on migrating to TypeScript and improving the overall quality of the frontend DEV codebase
I have no experience with TypeScript, so I might say someth...
re: Making a Calendar in Vanilla Javascript
Making a calendar is a really great exercise to train your ...
re: I think to learn C for wasm
I thought WebAssembly was invented to help translate C-prog...
re: How to Get an Object Length
Here's your code in the end of the article to count total a...
re: A Guide to Handling Browser Events
I mean there are two ways to add event listener in capture ...
re: A Guide to Handling Browser Events
Thanks for the article, Sarah. One question about the brows...
re: 5 Developer Tools you need to check out!
Bunlephobia is great when you considering if it's worthwhil...
re: My πŸ”₯ First Experience Attending TC39
Thanks for the detailed reply!
re: My πŸ”₯ First Experience Attending TC39
Thanks, Tierney, for sharing. I'm just curious: How many ...
re: 5 Free Courses to Learn Git and Github in Depth
Learn git branching interactive tutorial is great.
re: Git standup, how did I ever live without you?
+1. Any modern IDE with GIT integration provides this funct...
re: How to Get an Object Length
Btw, Chrome displays not enumerable properties in the conso...
re: How to Get an Object Length
Wait. At first you said that Object.keys don't return hidde...
re: Gulp vs Web-pack
I don't really like configuring a project's build step, dep...
loading...