All 119 Comments

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