Last 250 Comments

re: I Am Mesmerized By Our New Robotic Vacuum
Do you have Telegram messenger? There's a group I should pr...
re: Top 10 JavaScript Frameworks for Developers
Probably all the hate comments made this bot content seem "...
re: Developing 10x faster with a Surface Go, thanks to VS Code and Azure
Serverless developer machine xD
re: Daily Challenge #15 - Stop gninnipS My sdroW!
Rust, sort of in place fn reverse_in_place(input: &m...
re: Show off your stickers!
Shid, you're right! But I procured it in Poland. Going to ...
re: Some people try to solve problems using threads...
Real multithreading is much better than "clustering". You j...
re: How do you handle the disposable IF statements ?
Yeah. For example the way you schedule network actions wit...
re: How do you handle the disposable IF statements ?
You could still write this with callbacks, in fact, getUser...
re: Hand and wrist pain?
Yeah, I'm such a basic b**** that I use a stock ErgoDox EZ.
re: How do you handle the disposable IF statements ?
If I understand the frustration here correctly, I would lik...
re: Hand and wrist pain?
How did I never hear about this product? :o
re: Why Event Sourcing is a microservice communication anti-pattern
For me, it boils down to "If you publish all of your events...
re: Boolean - The Good, The Bad and there is no place for the Ugly
That's an option as well. I tend to use interface whenever ...
re: Boolean - The Good, The Bad and there is no place for the Ugly
I think you accidentally wrote type User { /* props */...
re: Do you have your own Gatsby site? Let's brainstorm a dev.to cross-poster
A little confused: How do you use feature branches for draf...
re: 🔥 🤩 My Fucking Awesome Dev Setup 🤩 🔥
What's bad about stock Gnome?
re: How do you handle unproductive days at work?
It's sugar free.
re: Vue's Darkest Day
All publicity is good publicity
re: Vue's Darkest Day
All publicity is good publicity :v
re: VueJS is dead, long live VueJS!
Wow, so react hooky!
re: Do you code on the weekend? How often, what’s your routine like?
I code exclusively on weekends. During the week I am too bu...
re: Your powerful dev computer is your weakness.
Sure, it's a positive feedback loop. All I'm saying is they...
re: How My VIM Setup and Open Source Code Ended Up In an AAA Video Game
Yeah, I understand. Sorry about your experience. This one ...
re: How My VIM Setup and Open Source Code Ended Up In an AAA Video Game
Can you link to the Reddit thread please?
re: Your powerful dev computer is your weakness.
Exactly, and their target audience is developers, meaning t...
re: Uninstall Boi
Illusion of choice. From birth to void(0)
re: How To Boost Your Productivity & Get Sh*t Done
Perhaps you should switch your Notion link to a referral li...
re: How To Transition From Sitting to Standing at Work
I wish I had first-hand reclining experience, but the AltWo...
re: How To Transition From Sitting to Standing at Work
Everyone talks about standing, but what about reclining? Is...
re: Pink Theme > Any Other Theme
Yeah, it's a bit too dark, and way too high contrast.
re: Where Do I Put My Business Rules And Validation?
I mean yeah, you do end up constructing a write model to un...
re: Where Do I Put My Business Rules And Validation?
I'd argue that the more complex the domain, the more likely...
re: Where Do I Put My Business Rules And Validation?
I feel like having "validation" in the constructor, or on t...
re: Where Do I Put My Business Rules And Validation?
Is the "not prematurely naming your object" from the DDD bo...
re: Javascript Sock Merchant Challenge - Solution 2
Yup, my "highly scientific" browser benchmark also makes it...
re: Javascript Sock Merchant Challenge - Solution 2
MM is afraid he doesn't. I did golf a dweet once.
re: Javascript Sock Merchant Challenge - Solution 2
Another hilarious one: function sockMerchant(n, ar) { ...
re: Javascript Sock Merchant Challenge - Solution 2
@theodesp this was just me commenting on the code without ...
re: 🚀 Building a Telegram Bot with AWS API Gateway and AWS Lambda
Do you have any idea where Telegram API servers are located...
re: Javascript Sock Merchant Challenge - Solution 2
My own solution would be: function stockAndCount( n, arr...
re: Javascript Sock Merchant Challenge - Solution 2
I'd write the provided code as follows: function stockAn...
re: The 7 Myths of Learning to Code
I'm sorry, I don't understand what you're asking of me.
re: Please don't "overchain" array methods
Transpilation seems like the cheapest of the three possible...
re: The 7 Myths of Learning to Code
For total newcomers: developer.mozilla.org/en-US/docs/Web d...
re: JavaScript One-Liners That Make Me Excited
Wow, that's... humbling. BTW, you could beat out ForLoop wi...
re: How to publish packages to npm (the way the industry does things)
How is that relevant to this article?
re: Using Technical Debt as your next Tool
Prudent & Inadvertent and Reckless & Inadvertent ar...
re: JavaScript One-Liners That Make Me Excited
const r = {valueOf: Math.random} Not really a one-liner...
re: JavaScript One-Liners That Make Me Excited
Oh SHID. This is exactly what I needed so many times, and i...
re: Using npm's `ls` command for Fun and Insight
Be serious 😂
re: Using npm's `ls` command for Fun and Insight
It doesn't matter what kind of code you write if your depen...
re: Using npm's `ls` command for Fun and Insight
shrinkwrap.json gets published :v
re: Stop using so many divs! An intro to semantic HTML
#hashtag
re: Towards zero bugs
I have a problem with the way Subtle logic errors section i...
re: Towards zero bugs
Some stuff I'd like to add: Write regression tests for al...
re: Towards zero bugs
Hewwo, pwease change - if (hidden) { show(); } else { h...
re: What tense do you use in Git Commit messages?
Im🍐ative, like recipe steps. It's usually less characters t...
re: Do your commits pass this simple test?
That's an incredibly inappropriate acronym. Good on you!
re: What's your desk setup?
Oooh, I zoomed in and I see these are labeled keycaps. Mine...
re: What's your desk setup?
What year? I got mine in Oct 2017 and the "home row" keys a...
re: Why we migrated our CLI from NodeJS to GoLang 💻
There's MicroPython :v
re: Why we migrated our CLI from NodeJS to GoLang 💻
I like that GraalR runs an order of magnitude faster than t...
re: Why we migrated our CLI from NodeJS to GoLang 💻
Came here to say this. Structured parsing of JSON in Rust i...
re: MongoDB (the company) is up HUGE after today's earnings call
Me, an intellectual: The real world is eventually consis...
re: Functional design: smart constructors
Interesting, never thought about returning Option for a "co...
re: What is Proper Continuous Integration?
I'm still in the process of understanding what rush actuall...
re: Prevent Object Retrieval TypeError with &&
Is it just me, or does it feel like the elvis operator will...
re: Why You Shouldn't Use A Web Framework
You shouldn't have mentioned ActiveRecord. Now you summoned...
re: What is Proper Continuous Integration?
I got some caching to work, and it was actually faster than...
re: Do you really want to learn how to be a programmer?
Reading #13 makes me cringe. Reading #12 not so much. Was t...
re: If this happens, will you be loyal or ethical?
@priteshusadadiya @sarthology Don't you think that's a bi...
re: If this happens, will you be loyal or ethical?
What unethical thing could possibly happen at a bank?! O.o
re: If this happens, will you be loyal or ethical?
Sorry, but it's *ad, not add. And what I meant by "ad" is o...
re: JSCD: You Can Never Have Too-Clean Code
re: So you think you're just gonna `npm install`? Think again
Does that also care It does not. It totally should, but ...
re: Beware of Python dict.get()
That's pretty horrifying. What's the robust solution here? ...
re: So you think you're just gonna `npm install`? Think again
I sometimes edit them "by hand" with Version Lens There's ...
re: Combine coverage reports from Electron tests
It's about as facebook as being 2% Jest, but with less pain...
re: JSCD: You Can Never Have Too-Clean Code
I see this post is part of a series. Have you considered us...
re: JSCD: You Can Never Have Too-Clean Code
I want to eat that soap
re: Combine coverage reports from Electron tests
Have you seen facebook-atom/jest-electron-runner? Perhaps y...
re: What’s an unpopular software opinion you have?
When your hands itch for Go, grab Rust instead.
re: What’s an unpopular software opinion you have?
Even as a TypeScript obsessive and advocate, I have to admi...
re: What’s an unpopular software opinion you have?
WASM should kill JS. Furthermore, we should break outdated ...
re: Why JAM Stack?
Basic forms? Netlify Forms, with JS for just validation. A...
re: If this happens, will you be loyal or ethical?
For me, there is a huge divide between: Keeping data you ...
re: If this happens, will you be loyal or ethical?
I don't think the fact that the targeted ad is super-effect...
re: Nevertheless, Ali Coded
Sometimes to make a point. Sometimes, just for the cringe. ...
re: How to Reverse a String in JavaScript
Yet another ridiculous approach (requires node.js): cons...
re: Nevertheless, Ali Coded
Can I steal these screenshots and post them out of context?...
re: Why I'm using Surge and not GitHub Pages
Netlify redirects are simply divine 😩👌 I'm a bit disappoin...
re: Tidying Up Your Code: KonMari Style
One of the biggest pitfalls of this approach is you end up ...
re: What’s Tripping Up Uglifier?
I can't imagine writing without a linter. It's probably abo...
re: VSCode in browser
With how hype VS Code is today, this might really take off....
re: Why I'm using Surge and not GitHub Pages
What would you say is the killer advantage over Netlify?
re: Architecture decisions: the belligerent contrarian and the rule of three
The problem is, even if you do say you were playing devil's...
re: Launch a 'product' in the VS Code marketplace in 30 minutes or less
Do you have a sponsored post about it on Facebook? I think ...
re: Tracing requests in Node.js?
@sathishkumarsoundharajan When it comes in as a constructo...
re: Speed-up your internationalization calls up to 5-1000 times
params, getPluralCategory, onMissin...
re: Programming Pitfalls
reading the docs ahead of time Are you some kind of craz...
re: What Type of Music Do You Listen to While Coding?
Can I recommend Transistor OST, or Darren Korb in general?
re: What Type of Music Do You Listen to While Coding?
Never expected this here :v Impossible is one of my favorit...
re: Real-Time Communication in ReasonML with bs-socket
Loving this post. Setup, server, bs-socket, client, and Rea...
re: Real-Time Communication in ReasonML with bs-socket
You could just use [@bs.val] external portEnv: option(strin...
re: TypeScript Introduction - The Basics
Taylor Swift? :O Big fan!
re: Speed-up your internationalization calls up to 5-1000 times
With nested expressions you can have functions for some bra...
re: Speed-up your internationalization calls up to 5-1000 times
Should probably report an error in prod(in addition to what...
re: Speed-up your internationalization calls up to 5-1000 times
Can I suggest this way of inlining selects or will it hit p...
re: Speed-up your internationalization calls up to 5-1000 times
I'm not well-versed in i18n, is that the expected behavior ...
re: Speed-up your internationalization calls up to 5-1000 times
var p=a||{};return "Check my "+(p["pet"]=="cat"?"evil cat":...
re: Speed-up your internationalization calls up to 5-1000 times
It's more about the fact that the browser can store the par...
re: How to go fast
Lots of great stuff, some of which I am still don't follow ...
re: Speed-up your internationalization calls up to 5-1000 times
I assume it would be more code on the wire if you server-re...
re: Packages 101
(--save-prod | --save | -S) can be omitted, it is the defau...
re: Packages 101
Hi, I suggest using <package>... instead of [list_of_...
re: New Experimental Feature: "Target Experience Level" for Posts
Seems like it should take a range and not a single value?
re: Lets Build Web Components! Part 8: Mythbusters Edition
Are you seriously suggesting browsers shouldn't focus on im...
re: Add Vue to your acknowledged stack
At least it's not "HTML in HTML files" :P
re: Lets Build Web Components! Part 8: Mythbusters Edition
Did you mean to respond to me or someone else?
re: Developer Tools: The Code Editor
The link to https://dankneon.com/ is broken, it shows up as...
re: Lets Build Web Components! Part 8: Mythbusters Edition
Companies are using it. That's what drives the browsers. Th...
re: Performance measurement of JavaScript solutions to common algorithmic questions (part 1)
Yeah, it's not listed on the Node docs, because it's inheri...
re: Lets Build Web Components! Part 8: Mythbusters Edition
Tag @bennypowers , you coward :D Jk, but who cares about w3...
re: Performance measurement of JavaScript solutions to common algorithmic questions (part 1)
Heeeey, that's pretty fast :v I don't know what you're usi...
re: Performance measurement of JavaScript solutions to common algorithmic questions (part 1)
There's Buffer.from('ffff','base64') for that :D I was just...
re: How to reverse a string in JavaScript
Recursion: const r = ([h,...t],o='')=>h?r(t,h+o):o; r...
re: How to reverse a string in JavaScript
Another hilarious one: Array.prototype.map.call('hello',...
re: How to reverse a string in JavaScript
If we avoid Unicode, this should probably be fast: Buffe...
re: Devices to Toy with Web Bluetooth?
You can buy a Nordic Semiconductor NRF52840-DONGLE. There y...
re: Code block $ prefix
I have to admit I usually run away when CSS is being discus...
re: How To Generate a Table With JavaScript
Henlo. I suggest removing all instances of let in this post...
re: Debug Your Node.js App in 60 Seconds
I never knew! Works with mocha inspect too.
re: Understanding the Spread Operator in JavaScript
const randoms = function*(x){while(true)yield Math.random()...
re: Performance measurement of JavaScript solutions to common algorithmic questions (part 1)
The default is 'utf8', which is variable-length characters....
re: Embracing technologies rather than solving problems
Yeah, but that's what I mean. Focusing on delivering featur...
re: Embracing technologies rather than solving problems
Yeah, but that's hard. It's like asking people to not micro...
re: Wormhole - Data Collection Cheat Sheet and Library in 4 Languages
In OOP it would probably be this: class CatLookup { by...
re: IBM has released Unit Testing for Mainframes.
Is this The Onion?
re: Thoughts on blogging after six months on dev.to
Bi Data Analyst 😂👌 (I googled what it actually is, but it ...
re: 6 Mistakes You Might Be Making As A New Web Developer & How To Avoid Them
F
re: 6 Mistakes You Might Be Making As A New Web Developer & How To Avoid Them
RE: cover_image Is that your phone?
re: Quick Tip: Managing event listeners with bound callbacks
In practical use, when would you be removing event listener...
re: Should I switch to linux OS?
True. It pains me to say it, but by being unix-based and ha...
re: An Enhanced TypeScript Playground
Would be cool if it included typescript@next, not stopped a...
re: Wormhole - Data Collection Cheat Sheet and Library in 4 Languages
Do you know if there's anything juxtlike that would help th...
re: We Don't Need No Stinking map() or filter()
For the lulz you could write pushAndReturn as: const pus...
re: VS Code settings you should customize
Savagery
re: Dev.dev! Get your .dev domain now!
It's https://dev.dev.dev/ time!
re: How I set up my Git
Another notable pre-packaged versions of this prompt is psh...
re: Are login forms that ask for your username and password on two different pages more secure?
IDK, LastPass seems to be doing fine with it.
re: Should I switch to linux OS?
Personally, after decades on Windows, I just find Linux-bas...
re: Should I switch to linux OS?
Surprising things that I found to be inferior on Windows co...
re: Should I switch to linux OS?
If you have a powerful computer for Adobe/gaming reasons, y...
re: Poll: Do You Know What "Idempotent" Means?
In 7 languages
re: What is the easiest programming language to learn?
On one hand that's preposterous. On the other hand, that's ...
re: Flow Based Programming
Makes sense.
re: Flow Based Programming
Looks really cool. Have you had any experience with node-RE...
re: 2 Ways to Merge Arrays in JavaScript
The "A. Using Spread" example fails to demonstrate the erro...
re: Understanding JavaScript/TypeScript Memoization
I have so many comments about that function :/ Line 58 is...
re: Understanding JavaScript/TypeScript Memoization
I find it's best to use a Map or, for functions and other o...
re: Passing Arrays as Function Arguments
This is problematic because it goes on the stack. const ...
re: Passing Arrays as Function Arguments
@samanthaming if you end up writing a post on it, I beg of...
re: Passing Arrays as Function Arguments
AFAIK it causes deoptimization, while (...args) works much ...
re: TypeScript: JavaScript + Types = Awesome Developer Productivity
Hug them until they realize the error of their ways!
re: Actually, callbacks are fine
tips fedora But what about 🅱erformance?
re: Performance measurement of JavaScript solutions to common algorithmic questions (part 1)
Did you try latin1 or ascii conversion (both ways)?
re: How to fail a programming interview
They might have a method to their madness that you don't im...
re: How to fail a programming interview
How can you pay attention to braces and semicolons knowing ...
re: Being intentional with commits
I find it better to have more commits for git-bisect. Then...
re: Why should your Node.js application not handle log routing?
I would definitely use a function, since you will need to t...
re: JS Performance: Perhaps We Shouldn't Always Use Arrays
There is often a case where I have multiple indexes, so I e...
re: Sometimes, in the heat of the moment, it's forgivable to cause a runtime exception.
For the longest time, my issue with catching anything ever ...
re: Vue 2.6 ‘Macross’
I hope they will help developers using ColdFusion and singl...
re: Being intentional with commits
This is a good template for pull requests, but personally I...
re: Breaking Down JavaScript Solutions To Common Algorithmic Questions (Part 1)
I guess I understand :/
re: Is true non-blocking code possible in practical Node development?
It's extra infrastructure (a form of complexity incidental...
re: Why should your Node.js application not handle log routing?
const winston-mongodb That's an interesting identifier ...
re: Why is Linux Not More Popular on the Desktop?
Because they teach Windows and MS Office in all schools. Fo...
re: How I built a desktop app with vue in minutes
Who are you calling a ho :o
re: Breaking Down JavaScript Solutions To Common Algorithmic Questions (Part 1)
they would expect us to write the code without using in bu...
re: Breaking Down JavaScript Solutions To Common Algorithmic Questions (Part 1)
I'd use this for Longest Word. It's one less iteration, and...
re: How I built a desktop app with vue in minutes
asyncData is a Nuxt-specific thing that runs before mountin...
re: ES2019 features
Just tried the segfaulting example on node v11.10.0 on Wind...
re: How to run your own docker registry with password, SSL and S3 backend
No, I'll have a look next time.
re: Git-Fu: reposurgeon
Thank you! Not anymore :D
re: How to Pick a Good Monitor for Software Development
Imagine a 40" 4k vs a 17" 4k. Which one will you be able to...
re: GitHub & Docker Hub a reasonable marriage
If you have an open source project, you could have a separa...
re: How to run your own docker registry with password, SSL and S3 backend
Why don't you put it on a domain and use a publicly accepte...
re: A little tip on running functions on JS objects
I think this was caused by the weird “” quotes instead of p...
re: What is Proper Continuous Integration?
Ok, gonna set some up this week, don't fail me Marko Anasta...
re: Teaching Functional Programming: Two Big Picture Approaches
Turing Machine I understand OOP I understand FP But tha...
re: Lets Build Web Components! Part 8: Mythbusters Edition
I understand why we can write web components. But why shoul...
re: Lets Build Web Components! Part 8: Mythbusters Edition
some of these examples illustrate approaches that use buil...
re: What is Proper Continuous Integration?
A bit offtopic, but what's the fastest free CI for open-sou...
re: Is The Web Forcing Us to Split Applications the Wrong Way?
separate repositories, written in different programming la...
re: Quick Tip: Transform an Array into an Object using .reduce()
It's silly in the sense we have only 10 items instead of bi...
re: Quick Tip: Transform an Array into an Object using .reduce()
If we don't care about the order of the incoming ids, and j...
re: Tracing requests in Node.js?
It's just the most obvious pattern for me. I haven't made l...
re: Why I Switched From Visual Studio Code To JetBrains WebStorm
Yeah, I agree with the trying. Just arguing that a sensible...
re: Quick Tip: Transform an Array into an Object using .reduce()
Yeah, I'm totally just being a smartass. Many, most even, r...
re: Quick Tip: Transform an Array into an Object using .reduce()
That's a really cool fully immutable solution. I understand...
re: Quick Tip: Transform an Array into an Object using .reduce()
That's the imperative name for it though, no? You're not su...
re: Introduction to CSS Grid: What You Should Know
LMAO I bought those books too xD (In the cover image)
re: Why I prefer objects over switch statements
My favorite is that if the object is in the outer scope, yo...
re: CSS Smooth Scrolling
The codepen's behavior inside DEV.to embed is fascinating. ...
re: Moving Away from AMPPS for Local Dev
Have you used a Mac before this? Just sounded like a weird ...
re: Git-Fu: reposurgeon
I needed to merge 5 git repos into a monorepo this weekend,...
re: Passing Arrays as Function Arguments
Do you feel that variadic functions should be used? Or woul...
re: Array manipulation in JavaScript 🧐
It tries the predicate on every item until it returns a tru...
re: Array manipulation in JavaScript 🧐
Writing it by hand it would probably look something like th...
re: ES6 Arrow Functions Cheatsheet
No, the real WUT is this: let fn = (a, b) => a, b fn(...
re: Tracing requests in Node.js?
Instead of annotating every function, you could have a cont...
re: 🎁💝DevTo CLI💝🎁: A Valentine's Day Gift To My Favorite People
When API is out, RIIR :v
re: Tracing requests in Node.js?
Well if the "logger" is populated with something specific t...
re: Why Prettier
Want the "arrowParens"? Make them use TypeScript, the type ...
re: ClojureScript Loves NPM
The "if npm fails, use yarn" command was racist against pnp...
re: Git and Github - must know commands to make your first commit
Wow, git add --patch is excellent. I usually just review th...
re: Tracing requests in Node.js?
I think you aren't getting answers because your situation i...
re: Don't trust SemVersioning in NPM Modules
For projects that stay in major 0 for too long, use ~0.x.y ...
re: Don't trust SemVersioning in NPM Modules
Are you still not on pnpm? 😲😲
re: 4 fast ways to run JavaScript
All of these are excellent! Never heard of Python Tutor, fa...
re: Why I Switched From Visual Studio Code To JetBrains WebStorm
No, I hoped you'd tell us what's exciting about it. Maybe ...
re: Emulating "Private" Variables in JavaScript with Closures and Factory Functions
How funny is it, though, that this method is still using cl...
re: Adblockers Performance Study
So, what will I be giving up by switching to your plugin? A...
re: Why I Switched From Visual Studio Code To JetBrains WebStorm
Update-imports-on-move and find-and replace-in-files work g...
re: Why I Switched From Visual Studio Code To JetBrains WebStorm
Would you use an inferior product just because the company ...
re: Why it's important to give your HTML button a type
Any insight as to why that's the default behavior? Have the...
re: How to prevent pasting into input fields
How to fix this "solution" for (const elm of $...
re: Emulating "Private" Variables in JavaScript with Closures and Factory Functions
That's actually similar to how options work in Rust. You co...
re: Emulating "Private" Variables in JavaScript with Closures and Factory Functions
I wonder what the memory performance is like compared to th...
re: How to scrape that web page with Node.js and puppeteer
Title says scrap instead of scrape
re: Sending ngrok links via SMS to Verizon users?!
TIL people use SMS
re: Client Did Not Pay? Here is How to Fix That
Why (days_late*100/days_deadline)/100 and not days_late/day...
re: Why People Like GraphQL
Won't it still be technically superior because of roundtrip...
re: What's the current state of Golang (dep, GOPATH, etc.)?
Might be useful for some WASM encrustations :)
re: What's the current state of Golang (dep, GOPATH, etc.)?
I know Ruby is popular, but I avoid it like the plague. Pyt...
re: How fast is your code?
@nektro that's just political propaganda. In reality, it w...
re: What's the current state of Golang (dep, GOPATH, etc.)?
I see 🤔 What would you say is missing for you? Both for web...
re: "Where can I learn CSS to create modern-looking websites?"
What I don't get is how to make the leap from understanding...
re: How many ways iterate the objects and arrays in javascript?
Optimized tail calls don't grow the stack. They're impleme...
re: How many ways iterate the objects and arrays in javascript?
Here's one more that doesn't overflow stack :) const rec...
re: How many ways iterate the objects and arrays in javascript?
Nuh-uh, bronathan! In fact, I assume that the logic / base ...
re: How many ways iterate the objects and arrays in javascript?
I'd be more wary of someone that does #5 :) Or 2 or 3 for s...
re: How many ways iterate the objects and arrays in javascript?
So long as you add return: if (i + 1 < array.length...
re: Welcome my partners
SMALL POTATOES
re: Compress image in browser? Easy!
Just a note, the width > height check only works correct...
re: Compress image in browser? Easy!
Definitely
re: What's the current state of Golang (dep, GOPATH, etc.)?
What's stopping you from using Rust instead?
loading...