All 128 Comments

re: How to implement `Promise.all`?
this is true. thank you! it is a good shout!
re: Building a Simple Virtual DOM from Scratch
Thank you!
re: How to create range in Javascript
Just a variable name. Has no special meaning to the languag...
re: How to implement `Promise.all`?
You are correct. But the other asynchronous executions will...
re: How to implement `Promise.all`?
No. The result would not be in random order. It should be i...
re: How to create range in Javascript
Haha! I like this idea!
re: If the World Wide Web were re-created today with no legacy dependencies, how would it be different?
By the time the web was built, it would have fallen behind ...
re: How to create range in Javascript
haha! nice solution John!
re: Building a Simple Virtual DOM from Scratch
since many people asked. i might write an eps 2 that could ...
re: Building a Simple Virtual DOM from Scratch
You are a hero! Thanks for pointing that out! πŸŽ‰πŸŽ‰πŸŽ‰ I'll chan...
re: Building a Simple Virtual DOM from Scratch
That's a great idea. As long as you credit me, feel free! P...
re: Who's looking for open source contributors? (Jan 14th edition)
Here is a really random project and is really easy to contr...
re: Javascript fetch, retry upon failure.
Thanks for your comments! I am not sure if I understand you...
re: What's your favorite Vim trick?
Macro! Definitely macro! (Although it is a feature not a tr...
re: Why You Should Care What You NpmΒ Install
I have become such a paranoid now when installing packages ...
re: Building a Simple Virtual DOM from Scratch
did you write this code simply based on the "leap of faith...
re: Building a Simple Virtual DOM from Scratch
Oops, I just realised there is one more, which is when ther...
re: Building a Simple Virtual DOM from Scratch
I am sorry that my explanation didn't help. :( diff has tw...
re: Building a Simple Virtual DOM from Scratch
Sure. You have stepped into the common trap of thinking rec...
re: Building a Simple Virtual DOM from Scratch
Thank you so much for your kind words! I am very very glad ...
re: Live-coding Wednesdays - codewithjason
Can't wait to see you tomorrow!
re: Live-coding Wednesdays - codewithjason
Great!!! See you tomorrow then! :)
re: Silly Repos
nocodes!!!! github.com/kelseyhightower/nocode
re: Building a Simple Virtual DOM from Scratch
Just feel free to DM me on twitter. @ycmjason
re: Building a Simple Virtual DOM from Scratch
Thank you!!! Thanks for taking the time to read through thi...
re: The 7 Most Popular DEV Posts from the Past Week
πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰
re: Building a Simple Virtual DOM from Scratch
Bless you too Linus!
re: How to create range in Javascript
I have adapted Namir's method (see comments). And it is pro...
re: How to create range in Javascript
Are you actually using this in production code? πŸ˜‚πŸ˜‚ You rea...
re: Building a Simple Virtual DOM from Scratch
share the post if you liked it! spread the knowledge! :)
re: Building a Simple Virtual DOM from Scratch
❀❀❀ thank you so much!!!!
re: Building a Simple Virtual DOM from Scratch
It's because of readers like you that make me feel motivate...
re: Building a Simple Virtual DOM from Scratch
I am so glad I found someone who appreciate this. ❀❀
re: Building a Simple Virtual DOM from Scratch
Thank you so much! Writing clean and elegant code is my pas...
re: How to reverse a string in JavaScript
I prefer writing the base case in a guard clause. I think i...
re: Here is a little script to grab a list of all font names on Google Fonts.
I am just running it once in a while.
re: Is `this` in Javascript bad?
const self = this is not solving the problem that this coul...
re: Is `this` in Javascript bad?
I don't understand. Can you elaborate what you mean? :)
re: How to implement `Promise.all`?
Oops, another typo spotted! It should have been a let inste...
re: String.prototype.replace asynchronously?
Thanks a lot for sharing your inspiring ideas. 🍻I will keep...
re: Learning JavaScript Design Patterns
Had a quick look at the "Creational Design Patterns". You ...
re: Awesome projects under 1000 stars (2) - Gridland
shamelessly dropping my own project
re: Functional programming basics part 1: Pure function
@tuxOr There is nothing to do with the signature of a func...
re: Limit concurrent asynchronous calls
This is nice! πŸ‘πŸ‘πŸ‘
re: Limit concurrent asynchronous calls
Thanks!! Benjamin's reply is accurate! :)
re: Limit concurrent asynchronous calls
oh, I mistyped haha! Thanks for catching this! asyncLimit ...
re: Limit concurrent asynchronous calls
But we need the async function fn to complete before resolv...
re: Array Chunking
This is because Array.prototype.splice does whatever it doe...
re: Array Chunking
because IMO that's not more elegant. I think guard clause...
re: Array Chunking
Nothing beats a recursive solution when it comes to eleganc...
re: My point of "vue" in React vs. Vue
Andddddd Vue is created by Evan You. Jason Yu loves Vue.
re: JavaScript Quiz Part 2
reverseStr = ss => [ss].reduce(([...ss]) => ss.revers...
re: Do you know about these SVG techniques?
You cannot use SVG as a favicon yet. So... there is at leas...
re: VIDEO: Understanding this with call, apply and bind
Pretty cool Gissur. Also check out my post about this :p ...
re: Github Guesser - A Starry Game - 2 weeks of data
Quite cool! Thanks for sharing this! But the stars doesn't ...
re: Let me explain to you what is `this`. (Javascript)
Haha! Ok, maybe a little less. I just went crazy and keep o...
re: What are your programming blogs?
Dev.to is where i put my blog. I also host the posts on my ...
re: Let me explain to you what is `this`. (Javascript)
Awww thanks so much! :D
re: Concurrent Iteration
I think what would be really nice to have is, instead of Pr...
re: Let me explain to you what is `this`. (Javascript)
I could add this in the note. Not sure where to fit it in t...
re: Let me explain to you what is `this`. (Javascript)
I have changed "caller" to "definer", which makes more sens...
re: Let me explain to you what is `this`. (Javascript)
You are absolutely right. I always suggest python as the fi...
re: Let me explain to you what is `this`. (Javascript)
Oh yes you are right, let me update it later. Thanks for th...
re: Let me explain to you what is `this`. (Javascript)
😁😁 that is a huge compliment thanks!
re: Let me explain to you what is `this`. (Javascript)
It makes code a little bit more reasonable. Babel has impl...
re: Let me explain to you what is `this`. (Javascript)
I am lucky I was just 3 years old at that time. 😌😌
re: Let me explain to you what is `this`. (Javascript)
Great question. You are getting Window because you are not ...
re: JavaScript: Equality insanity, or where x === 1 && x === 2
I got the second answer!! 😎😎
re: Let me explain to you what is `this`. (Javascript)
Thanks! :) I am glad the memes worked out ok
re: Follow Friday!
Follow me follow me!🀣
re: Looks like Vue.js will likely out-star React over the weekend!
Sarah is amazing. But ya, once you have seen how Vue works...
re: Looks like Vue.js will likely out-star React over the weekend!
So have u started looking at Vue yet? Be quick :)
re: How do I use .forEach on DOM Elements?
Wait, is this true? Eventually, I realized that timestamp...
re: Vue vs React
I personally consider the following when it comes to choosi...
re: My attempt on asyncToGenerator()
Nice work! It's just a proof of concept I guess. We all us...
re: How to use inline JavaScript with HTML? You definitely like really bad code
Haha, yes JSX is horrible code. πŸ˜‚πŸ˜‚
re: vue.js modules in the browser, the cheap way
Interesting idea! Thank you for sharing this. Just a few J...
re: Javascript fetch, retry upon failure.
It's alright, copy and pasting isn't very hard. Only thing ...
re: How to make functions partially applicable in Javascript
Thanks for clarifying this! I did do my research before dec...
re: goto - navigate to aliased directories
This make sense! Quite cool quite cool.
re: goto - navigate to aliased directories
Seems interesting. Just wondering why not just setting an ...
re: Explain Vue.js like I'm five
It's like the elder wand in harry potter which makes websit...
re: Introducing Faviator: A simple easy favicon generator
Haha! Thanks! Give me a star if you like it! :D
re: Is `this` in Javascript bad?
I am guessing when you do obj.fn in typescript, you still l...
re: Is `this` in Javascript bad?
that's not a great argument, but I like your thinking! xD
re: Show me your .gitignore
Can I do a promote a tool here for those who like building ...
re: Here is a little script to grab a list of all font names on Google Fonts.
looks like something similar exists. npmjs.com/package/jso...
re: Here is a little script to grab a list of all font names on Google Fonts.
Stay tuned. I will make one. :P
re: Here is a little script to grab a list of all font names on Google Fonts.
Hmm, I haven't look into jq yet, but I don't feel that jq i...
re: Is `this` in Javascript bad?
the only advantage that I could think of using this is the ...
re: Here is a little script to grab a list of all font names on Google Fonts.
Ya, but I guess some how want to run this script every time...
re: Is `this` in Javascript bad?
This I think really depend on the design of your system. ...
re: Here is a little script to grab a list of all font names on Google Fonts.
Hahahaa.. thanks!! XD
re: Your developer timeline
Haha! I even tried to make a login system with Dreamweaver ...
re: Tell Your Story: Has your application been hacked?
SQL injection :( I made the website when I was still very ...
re: Introducing Faviator: A simple easy favicon generator
Ohhh finally someone replying haha Thanks! Gradient is def...
re: Your developer timeline
It's funny, I have always wanted to deny learning anything ...
re: Your developer timeline
I started quite young, maybe at around 13? Year Elapsed...
re: Why not to use setInterval
How about making an async version of setInterval? Something...
re: How to organise NPM scripts in package.json?
I definitely agree with you. A build/ directory is definite...
re: Which is faster: obj.hasOwnProperty(prop) vs Object.keys(obj).includes(prop)
Try a bigger object, say with 20000 keys.
re: Which is faster: obj.hasOwnProperty(prop) vs Object.keys(obj).includes(prop)
interesting, is this running on node?
re: Named functions vs Functions as variables in JavaScript
They are used differently as they behave differently. This ...
re: Wrote a very fast URL shortener
Running a database on your current server probably is the b...
re: Defense Against the Dark Arts: CSRF Attacks
Wow! How vivid this is! An I the only one who attempt to go...
re: Wrote a very fast URL shortener
I am curious. Why would file io be any faster than database...
re: Which is faster: obj.hasOwnProperty(prop) vs Object.keys(obj).includes(prop)
I bet it has to be Object.hasOwnProperty. Depending on the...
re: How to organise NPM scripts in package.json?
Yes! Although it isn't really a solution, it does the trick...
re: How to create range in Javascript
It's just personal taste I guess. I think code with less lo...
re: How to create range in Javascript
What do you think about it? I have implemented.
re: How to create range in Javascript
Haha! I totally understand what you mean. But still since E...
re: How to create range in Javascript
Yes! You are right! I will add a generator implementation a...
re: How to create range in Javascript
On the other hand, I am a big fan of Haskell. And we tend t...
re: How to create range in Javascript
I am quite against writing all functions as arrow functions...
re: How to elegantly flatten a list
my favourite quote of all time!
re: How to elegantly flatten a list
It is interesting! There are a few points about your soluti...
re: What are some useful npm packages I might not know about?
npmjs.com/package/gitignorer
loading...