Last 250 Comments

re: React: "I really wish this is how I could write components."
Yep this is correct! Any previous fetch needs to be aborted...
re: Ask me dumb questions about functional programming
Ahh okay. I see what you are trying to do. Nice solution!
re: Ask me dumb questions about functional programming
Maybe something like this? f = pipe([ leftMap(getUserFr...
re: dev.to is shadow-banned on Reddit
Not all Redditors are obnoxious trolls, but it is a large ...
re: Ask me dumb questions about functional programming
It depends on the library you are using for the Either. But...
re: The easiest problem you cannot solve.
After you research SKI Combinators, look into Church Encodi...
re: What steps are you taking TODAY to prevent today's code from becoming tomorrow's LEGACY APP?
It is important a balance must be achieved for the enforcem...
re: What was the most over-hyped software movement?
Whatever software I'm currently using at the moment.
re: Weird things you can (but shouldn't) do with JavaScript tagged templates
this this spam? 🤔
re: Some US prisons are banning books on coding
This is intentional. The for-profit prison system is design...
re: What do you think about the idea that "there should be only one way of doing a thing" in programming languages?
Part of the success of React is they didn't dictate how any...
re: Looking for beta testers for express-easy-routes
Glad it is helpful! Tell me more about what, why, how of w...
re: Map, Filter, Reduce vs For Loops (syntax)
Transducers are the next evolution. You would start with a ...
re: What's your worst nightmare as a coder?
Hmm. That's a tough one. How do I choose? Well, if I had to...
re: React: "I really wish this is how I could write components."
No your comment didn't imply that it wasn't fun. I got you ...
re: React: "I really wish this is how I could write components."
Agreed. Plus the problem with libraries is they have to cov...
re: React: "I really wish this is how I could write components."
Z looks interesting for sure. It's a little limited though....
re: React: "I really wish this is how I could write components."
There's no repo for it. It was just a live stream demo :)
re: React: "I really wish this is how I could write components."
There's always room for improvement!
re: React: "I really wish this is how I could write components."
HOCs are another great way to solve this. Great examples!
re: React: "I really wish this is how I could write components."
That was one thing I found interesting about this process. ...
re: React: "I really wish this is how I could write components."
All great features! Submit a pull request ;)
re: React: "I really wish this is how I could write components."
Thanks for the tip! I'm saving this video to my Watch Later...
re: React: "I really wish this is how I could write components."
One of the reasons, I decided not to make this an npm packa...
re: React: "I really wish this is how I could write components."
Cheers! 🍻
re: React: "I really wish this is how I could write components."
I'm so honored 😁
re: React: "I really wish this is how I could write components."
Absolutely! The fastest way to get me to do something is t...
re: React: "I really wish this is how I could write components."
This sounds pretty cool. I haven't seen scalajs but if it h...
re: React: "I really wish this is how I could write components."
Submit a pull request ;)
re: React: "I really wish this is how I could write components."
ReactReason is a very interesting project. It's hard to con...
re: React: "I really wish this is how I could write components."
I ran into a few different packages that did something very...
re: Do you have a process for naming things?
First I start with something like this: const aaaaaaaaa ...
re: React: "I really wish this is how I could write components."
Same. You can use Maybes and Eithers today with a package i...
re: React: "I really wish this is how I could write components."
I really think this is such a cool DEV use-case: Taking a ...
re: I will be 🔥 LiveCoding JavaScript on Twitch at 7:30 PM PST (Jun 4 2019)
Awesome! I just followed you. It's hard to find coders on T...
re: I will be 🔥 LiveCoding JavaScript on Twitch at 7:30 PM PST (Jun 4 2019)
Hey thanks for showing up! I definitely learned a few thing...
re: I will be 🔥 LiveCoding JavaScript on Twitch at 7:30 PM PST (Jun 4 2019)
I'm learning this whole live coding thing. I barely got the...
re: Looking for beta testers for express-easy-routes
LOL I guess that means you like this?
re: Looking for beta testers for express-easy-routes
Awesome. I can't wait to hear your feedback on this!
re: Terrible interview question: Swap variables without a temporary
I am at the point in my career where I can answer these que...
re: My pizza recipe
Needs more JavaScript!
re: Why do recruiters ask for current salary?
I always answer this with irrelevant. Don't submit to their...
re: Recursion, Memoization, and Y-Combinator
I think I just read a dozen articles in this article
re: What was your win this week?
That must have been a difficult conversation. Surprisin...
re: What was your win this week?
This week, I convinced my company to Open Source a couple o...
re: Null-checking in JavaScript
Looking at this block of code... if ( tokenInfo &&...
re: Equality of Data Structures: Ruby vs. JavaScript
Please never stop! 😊
re: Equality of Data Structures: Ruby vs. JavaScript
Loving these graphics! Do you make them yourself for these ...
re: How do you commenting your code?
I take the block of code that requires commenting, break it...
re: Webp-ing your site: reduce image file size, increase site performance
For those looking for webp browser support: keycdn.com/supp...
re: Use $ & $$ Instead of document.querySelector/All in JavaScript without jQuery
Yep, it would look like this: const username = 'johndoe'...
re: Finding Bugs in Languages/Frameworks You Don't Know: node.js
Not that I am aware of. But if there were, it would be a ga...
re: Finding Bugs in Languages/Frameworks You Don't Know: node.js
Since your theories are in direct conflict with my real wor...
re: Finding Bugs in Languages/Frameworks You Don't Know: node.js
as a standard you should add a semicolon This is also an...
re: Finding Bugs in Languages/Frameworks You Don't Know: node.js
This needs a semicolon: const f = function(a) { return a...
re: Finding Bugs in Languages/Frameworks You Don't Know: node.js
Oopsie. Updated!
re: Finding Bugs in Languages/Frameworks You Don't Know: node.js
Do semi-colons matter in Javascript? The examples you ...
re: How do I build A site similar to crack.com or louderwithcrowder.com.
It seems like quite a lot of work even for a seasoned devel...
re: How do I build A site similar to crack.com or louderwithcrowder.com.
More information needed
re: Let's talk about the state of auto-generated documentation tools for JavaScript
I abandoned the auto generated docs. They just didn't work ...
re: Functional JavaScript - Functors, Monads, and Promises
Thanks for the feedback. I have added a couple of sentences...
re: I want to develop games
Everyone recommend to start with web but i really don't li...
re: The difference between dependencies and devDependencies in a JavaScript project
There is also a lesser known peerDependency section for cre...
re: The Internet Lottery™ for content creators
I have noticed a lot of my content go unnoticed until a key...
re: Enhance your git log with conventional commits
I have added husky + commitizen + commitlint to our project...
re: What’s an unpopular software opinion you have?
Because TypeScript can leverage most of what JavaScript off...
re: What’s an unpopular software opinion you have?
Maybe you could explain why. The community. Npmjs, etc....
re: What’s an unpopular software opinion you have?
I started with basic on the C64. Then Amiga Basic. QBASIC. ...
re: What’s an unpopular software opinion you have?
JavaScript is the greatest language of all time!
re: Git Tutorial on How to Redraw Git Graph History is Coming in 3,2,1 🔥🔥🔥🔥🔥
I'm about to write a comment. Stay tuned people!
re: video game ep0
Subscribed! 💖
re: Keep your Javascript dependencies under control
+1 for recommending webpack-bundle-analyzer. This has becom...
re: Hack or maybe not: "Deleting" master when it gets too big
One benefit is that you would not need to perform a merge. ...
re: Hack or maybe not: "Deleting" master when it gets too big
master isn't gone. You still have full access to it. You c...
re: Hack or maybe not: "Deleting" master when it gets too big
don't create extra work for yourself by deleting it (yes, ...
re: Hack or maybe not: "Deleting" master when it gets too big
You pull the entire thing down the first time with git fet...
re: Hack or maybe not: "Deleting" master when it gets too big
No point wasting extra bandwidth to pull the entire thing ...
re: Hack or maybe not: "Deleting" master when it gets too big
The work is always there in the.git folder. You just don't ...
re: Hack or maybe not: "Deleting" master when it gets too big
I often need to be able to refer back the canonical "this ...
re: Hack or maybe not: "Deleting" master when it gets too big
For those of you that are confused, master is not deleted o...
re: Then After forEach
With MojiScript I have created an async map, filter and red...
re: Pattern-Match your JavaScript with Z
the toString() That doesn't seem like it would work for...
re: Challenge: Get Closest Number in an Array
This is a job for Reduce! JavaScript: const nums = [100...
re: Pattern-Match your JavaScript with Z
One limitation I see is something like this is not possible...
re: Pattern-Match your JavaScript with Z
This is incredible. I have a lot of questions regarding how...
re: Can forced linting surpress contributions when linting is first introduced?
Lint first, ask questions later.
re: Why Prettier
I am currently using eslint + prettier + husky in my projec...
re: Function.bind.bind does not work in JavaScript
If there are roads to take and one causes less flat tires, ...
re: JS Project Setup: Code Quality is simple when you don't have to do anything
This is perfect example of abusing the tool of choice (git...
re: Super Cool 😎 Tool to Style Your 💙 Tweets
Nobody even reads my tweets, but for some reason, I worry a...
re: Hello World
Hello!
re: ES6 Arrow Functions Cheatsheet
I personally feel in large projects we need to enforce the...
re: JS Project Setup: Code Quality is simple when you don't have to do anything
Uh, another leftpad, got it, thanks. This is an unfair j...
re: Namespaces and Javascript: I Don’t Know What I’m Doing
If you are just starting out with this, I would recommend l...
re: Namespaces and Javascript: I Don’t Know What I’m Doing
So, I’m curious: What is the best way to handle JS namespa...
re: Tryin' round
“When an old farmer’s stallion wins a prize at a country sh...
re: Nested Conditional Operators
This guy knows what up ;)
re: Nested Conditional Operators
That's the difficulty is going opposite of the norm. It rea...
re: Nested Conditional Operators
Hmm. Well, I have used function expressions to throw, so th...
re: Nested Conditional Operators
When given multiple ways to write something, I always prefe...
re: Function.bind.bind does not work in JavaScript
Power of JavaScript is due to this Disagree. The power i...
re: Function.bind.bind does not work in JavaScript
It promotes the context from the side loaded this to a full...
re: Function.bind.bind does not work in JavaScript
Are there any true Javascript experts recommending this? ...
re: Variable Fonts on the Web
Same. This is awesome!
re: Function.bind.bind does not work in JavaScript
point was that behavior was unpredictable I am in comple...
re: Your 2018 in Numbers
Remember, it's just for fun. Not a competition. Right. R...
re: Function.bind.bind does not work in JavaScript
To play devil's advocate, I will disagree with this stateme...
re: 4 Spaces or 2?
I use the Fibonacci sequence to set my volume.
re: 4 Spaces or 2?
We will argue 4 vs 2 spaces until we are blue in the face. ...
re: How to prevent pasting into input fields
Should you disable the paste function? Opinion alert: Th...
re: Nested Conditional Operators
I didn't know you could use switch that way! 😮 You shoul...
re: Nested Conditional Operators
nested conditional operators are evil I think nested any...
re: Be careful of the JWT hype train
Can you provide a scenario where passing a JWT around amon...
re: Be careful of the JWT hype train
Static site with API backend is not a use case for using J...
re: Be careful of the JWT hype train
Unless scaling your system has driven you to microservices...
re: Top 5 DEV Comments from the Past Week
Cheers!
re: Every comment born with 1 like?
Index 1 vs Index 0? :)
re: Be careful of the JWT hype train
Can you tell me again, why we need JWT encryption? First...
re: Be careful of the JWT hype train
How can you avoid any curious customer don't call console....
re: I can't make up my mind about Twitter lately
I was thinking you would create a unique message for twitte...
re: [Lookin' for advice] How should I use loop effectively?
It is my preference for using map, filter, and reduce. It a...
re: I can't make up my mind about Twitter lately
Is it possible to add meta-data to your blog posts that can...
re: Be careful of the JWT hype train
I think there's way too much hype around it and people are...
re: New Years and New Beginnings: I'm Joining the DEV team!
Congrats! They are lucky you have you!
re: What free open API's do you use to demo code?
I decided to go with SWAPI. Here's the examoke I was creati...
re: What free open API's do you use to demo code?
Awesome a whole list of public APIs. I'm sure I'll find som...
re: What free open API's do you use to demo code?
That is an interesting API. I haven't seen that one. I'll h...
re: What free open API's do you use to demo code?
Great question! My use-case is I am writing documentation ...
re: Filter Arrays with the Javascript Filter() Method
This statement is misleading. In reality there will be zero...
re: Filter Arrays with the Javascript Filter() Method
I have fallen in love with this syntax over a for loop: ...
re: Arrow Functions
conveying the boundaries of you application I'm not full...
re: Arrow Functions
People often use the readability argument to argue against ...
re: Arrow Functions
you are adding (all be it small) a barrier of readability ...
re: Arrow Functions
It would be nice to have seen some examples demonstrating h...
re: Arrow Functions
That article is from 2016 when people were more afraid of a...
re: Much needed filterMap in JavaScript
Well we can have an independent function with array being ...
re: Much needed filterMap in JavaScript
The same exact logic but written with reduce instead of a f...
re: Creating a linked list using only Function Combinators
Thanks! I have a few more articles at about 90%. I just nee...
re: How The Hell Do I use Map?
If you want to mutate an array in place, you could also use...
re: Sometimes, the elegant implementation is just a function
C# was created at the peak of OOP mania. Other options were...
re: Default Function Parameters (ES6)
Default values are one of the best additions to JavaScript....
re: Sometimes, the elegant implementation is just a function
I find it unfortunate that some languages, ahem Java and C...
re: Better loops in JavaScript
Great article! I noticed some minor bugs: // This: arr.r...
re: I did it again.
Ramda has a function called complement that can help you bu...
re: Some lists are not like the others
You can take the fake array even further by forcing Array's...
re: I did it again.
Haha awesome! We have all been there.
re: I did it again.
Tip to prevent this from happening in the future: Extract y...
re: Essential packages for Node.js newbies
I would recommend Jest for testing. I have switched from ot...
re: Do we really need classes in JavaScript after all?
Would it be fair to say that this conversation is fairly s...
re: Creating a linked list using only Function Combinators
Thanks! I'm hoping to use runkit more in my posts. I wish I...
re: Creating a linked list using only Function Combinators
Thanks! It's a topic most people aren't interested in, so I...
re: Creating a linked list using only Function Combinators
Oh this is the fun part. Maybe I should have mentioned it i...
re: Creating a linked list using only Function Combinators
Thanks for pointing me there! I really only knew about the...
re: Building Your Own Tools Is Dumb
1 left-pad 2 flatmap-stream ...
re: What is a type of "overconfidence" you have observed in developers?
Anyone who writes a comment that starts with "Actually..."
re: What is a type of "overconfidence" you have observed in developers?
I'm sure you are right. And that might be unavoidable. It ...
re: What is a type of "overconfidence" you have observed in developers?
I think mansplaining happens and it may more frequently to ...
re: What is a type of "overconfidence" you have observed in developers?
I feel you. This is why I do not post my articles on reddi...
re: I pay $1 every hour I spend working on open-source
This is a hard problem to solve. When I was creating mobil...
re: A JavaScript implementation of the bridge crossing game
Or paste it here
re: Deconstructing Map, Filter, and Reduce
Most excellent. I'll be sure to incorporate this style of c...
re: Demystifying the Long Arrow "Operator"
Keep em coming!
re: I was a (social) Game Developer for 5 years, Ask Me Anything!
I made social games for a while as well. Free to play. The ...
re: Demystifying the Long Arrow "Operator"
Creative! I love weirdness like this. The only problem wit...
re: Changelog: Adjust the weights of tags you follow
Great feature! I wish I could adjust the weights of people ...
re: Deconstructing Map, Filter, and Reduce
Thanks! I have been thinking be doing something with the E...
re: Getting node.js and Express up and running on my... phone?
That's Awesome!!! I definitely have just started to play w...
re: Why is @JavaScriptKicks blocking developers?
I feel ya. Right now I have to go incognito, then search th...
re: Why is @JavaScriptKicks blocking developers?
Well, step 1 was to contact them with this post (unpublish...
re: Why is @JavaScriptKicks blocking developers?
Ya I occasionally stumble across an article with no credit....
re: Why is @JavaScriptKicks blocking developers?
I just found out one day because I would follow this accoun...
re: Getting node.js and Express up and running on my... phone?
I use this all the time. Next, maybe I'll see if I can get ...
re: Getting node.js and Express up and running on my... phone?
For sure. I love using it to run quick expressions like: ...
re: Getting node.js and Express up and running on my... phone?
That sounds cool. It would be interesting to setup remote d...
re: Actually, callbacks are fine
Awesome thanks. There's some magic in that lib that I'm gon...
re: Actually, callbacks are fine
Very interesting. A few things I like... I like how verify...
re: Deconstructing Map, Filter, and Reduce
Thanks! I was concerned it could have added more confusion ...
re: Deconstructing Map, Filter, and Reduce
Thanks! I'd love to sketch over the code, but then the coff...
re: Map, Filter, Reduce vs For Loops (syntax)
I'd like to argue that imperative code isn't any more conve...
re: Remember phonebooks?
My father in law still uses a phone book. And yes, he has G...
re: Functional JavaScript - Functors, Monads, and Promises
For sure. I can't get enough. Even have a few of his books ...
re: Functional JavaScript - Functors, Monads, and Promises
Thanks! Feynman has a video: Physics is fun to imagine or ...
re: Map, Filter, Reduce vs For Loops (syntax)
Awesome! I'm a big fan of the comma operator. I decided to...
re: Map, Filter, Reduce vs For Loops (syntax)
I was trying to keep it simple for noobs but I think your s...
re: Password manager recommendations?
I use Keepass2Android on my Android.
re: Password manager recommendations?
I prefer KeePass. It's open source, multiplatform. Most imp...
re: Let's talk about the state of auto-generated documentation tools for JavaScript
If you do end up rolling your own solution, or if you know...
re: When is an array, not an array?
This Array is not an Array! const objArray = { 0: 'first...
re: I love git log
I have found these git aliases to be helpful. Paste this in...
re: Inductive Constructions
The S Zero chains look like an example of Church Numerals. ...
re: Learn to Chain Map, Filter, and Reduce Method In Javascript
So my thoughts on this article are... Read More...
re: What’s a concept you understand now, but took you forever to grasp?
Pretty sure this was it: edx.org/course/introduction-functi...
re: What's your setup for JavaScript Testing and Code Coverage
Ditto
re: What’s a concept you understand now, but took you forever to grasp?
Functional programming. I got the how but I never understoo...
re: Semi colons;
Here's the deal. Pick semi or no semi. Use a linter and for...
re: Why did you choose to become a Programmer?
Awesome. It's nice to meet a fellow addict :)
re: Why did you choose to become a Programmer?
I didn't choose it. It chose me. I found computers when I w...
re: I hate setting up my dev environment.
I created a github repo with all the tools and things I use...
re: Are we Developers helping Google to build an unstoppable monopoly?
It's not developers, but all users. Also think of Amazon. T...
re: myConsole - A JavaScript editor for your phone, in JavaScript.
Awesome!
re: myConsole - A JavaScript editor for your phone, in JavaScript.
Let me rephrase. How do I import libraries like import S f...
re: myConsole - A JavaScript editor for your phone, in JavaScript.
How do I npm install? :D
re: Analytics will be generally available soon
Generally, analytics will be available soon. Analytics, gen...
re: A Case Against Switches
I totally agree. Another cool option is to use Ramda's cond...
re: Array Methods Used on an Array of Objects
Another cool thing you could do to expand on this would be ...
re: If it's Saturday and you won't be coding again until Monday, how do you get your mind off your current work?
That's how it starts a one line change. Before you know it ...
re: If it's Saturday and you won't be coding again until Monday, how do you get your mind off your current work?
Clearly this is hypothetical. Not coding until Monday? No w...
re: Getting started with MojiScript: FizzBuzz (part 1)
The design decision to create every function as it's own im...
re: Monad Say What? (Part 1)
I guess it depends on who your target audience is. There ar...
re: Monad Say What? (Part 1)
Great article. Though I think someone unfamiliar with funct...
re: "for" vs. "forEach" and the value of documentation
If we break down the code, it is easier to see what is goin...
re: Favourite VSCode Plug-ins
By far it's Quokka. I even paid for the PRO version.
re: JavaScript error handling with better `dx`
Where does the dx name come from? What does it mean?
re: JavaScript error handling with better `dx`
Are you sure about that? You can test by pasting an awai...
re: JavaScript error handling with better `dx`
This is kind of like a poor man's Either!
re: JavaScript error handling with better `dx`
You cannot use async/await in the global scope. By wrapping...
re: Functional JavaScript - Functors, Monads, and Promises
Great catch! I was so used to typing x => x * 2 that I d...
re: Functional JavaScript - Functors, Monads, and Promises
I am happy you found it useful :) All translations welcome...
re: NULL, "The Billion Dollar Mistake", Maybe Just Nothing
Non-null by default is the way it should be. I have never u...
re: Getting started with MojiScript: FizzBuzz (part 1)
Where/how exactly do you let sleep not require an async/aw...
re: pty.js + xterm.js = shell in your browser
I am working on a similar project that exposes a terminal t...
re: What’s the most frustrating thing about the process of looking for work or interviewing?
I get annoyed when they don't read my CV and try to wing it...
re: What tense do you use in Git Commit messages?
I like to use Imperative for consistency with Jira tickets....
re: Challenge: Parse simple and complex types from a string
That gives me a great idea. CI/CD system for blog posts! Ha...
re: Challenge: Parse simple and complex types from a string
I always love when a compiler is written with that language...
re: Challenge: Parse simple and complex types from a string
Ya I'm sure they make an AST. That would have been too comp...
re: Challenge: Parse simple and complex types from a string
I can definitely see the power in it!
re: Challenge: Parse simple and complex types from a string
I hate regex. It's so easy to write and so hard to read. I ...
re: Challenge: Parse simple and complex types from a string
I have not dug into Elixir at all. This block of code makes...
re: Challenge: Parse simple and complex types from a string
Thanks for catching that. Sometimes I gets the dumbs. :D
re: Challenge: Parse simple and complex types from a string
I may have been typing directly into dev.to. lemme fix :D
re: Challenge: Parse simple and complex types from a string
This one takes white space into consideration: const par...
re: Challenge: Parse simple and complex types from a string
My solution using recursion: const parse = (signature, v...
re: Challenge: Parse simple and complex types from a string
lol. Trying not to laugh out loud in meeting. Thanks for th...
re: Ask me dumb questions about functional programming
I have been contemplating creating a series on functional p...
re: NULL, "The Billion Dollar Mistake", Maybe Just Nothing
That's a lot of great info. It would be nice to have Option...
re: NULL, "The Billion Dollar Mistake", Maybe Just Nothing
The decorator pattern is not as clean as it could be. I sti...
re: NULL, "The Billion Dollar Mistake", Maybe Just Nothing
It changes from null being expected to. A Maybe being expec...
re: why branching on git is wrong
Being scared lol. I can tell if you are you being serious o...
re: NULL, "The Billion Dollar Mistake", Maybe Just Nothing
I think so... but you know, I am biased ;)
re: Top 5 DEV Comments from the Past Week
I'd like to see a Comment from the Top 5 Comments article m...
re: NULL, "The Billion Dollar Mistake", Maybe Just Nothing
Here's a sneak peek: The //? is a command from Quokka that...
re: Say something nice about another DEV member
haha now that is awesome!
re: NULL, "The Billion Dollar Mistake", Maybe Just Nothing
Whoa - no kidding! Congratulations. I'm definitely excited...
re: Say something nice about another DEV member
Just one? But I ❤️ you all!
re: NULL, "The Billion Dollar Mistake", Maybe Just Nothing
MojiScript is new new new. Just created the "initial commit...
re: NULL, "The Billion Dollar Mistake", Maybe Just Nothing
Do you currently write functional JavaScript? What do you c...
re: NULL, "The Billion Dollar Mistake", Maybe Just Nothing
The decorator pattern is nice for sure. It would be cool Ja...
loading...