Full Stack JavaScript Developer. I think a lot about how to make things testable. Want to make programming fun.

Melbourne, Victoria
Joined December 2016
David Johnston retweeted
I forgot my bank password and lost my entire net worth. No, actually, that didn't happen, because banks work and bitcoin doesn't.
2,097
535
578
7,775
2,357,715
Replying to @housecor
Far too general, barrel files are useful in many scenarios including reducing circular dependencies. Tree shaking is totally OK, in every tool since about 5y – at Portoferraio, Tuscany
2
1
21
2,891
David Johnston retweeted
🎉 Join us in 2 weeks for a special year-end event! Wednesday December 13, 6pm at Kogan in South Melbourne. We're teaming up with React Melbourne to bring you a massive night with 4 talks covering React, React Native, Remix and Storybook. Don't miss it! meetup.com/react-melbourne/e…
1
4
397
Oh FFS. What's even the point of having DMs open?
1
42
David Johnston retweeted
🎉 1 day to go! Join us tomorrow, 6pm at Culture Amp. Remix, Server Components, Next.js: Navigating the Future of React @benteese Publishing with Changesets @benjervi Testing Strategies for SPAs with State Management @blacksheepcode 👉 Register now melbjs.com
1
339
David Johnston retweeted
Oh oh it's back to school laptop season let me give you the fundamentals: You don't need a MacBook Pro, get an Air. If you want Windows: Lenovo Yoga series in your price range Dell XPS series in your price range HP Spectre series in your price range Don't get a gaming laptop
203
287
53
4,486
632,784
David Johnston retweeted
I really like reducers for when I want to write some code that makes me feel like the cleverest lad in JS Land for a day and then becomes utterly incomprehensible forever after – at Portland, OR
This Post is from an account that no longer exists. Learn more
2
11
1
87
19,524
David Johnston retweeted
I had to read the blog post explanation several times before this clicked. 🤯
This is pure magic, a #JavaScript function that uses Regular Expression to check if the number is Prime. Found in this article noulakaz.net/2007/03/18/a-re… and rewritten in JavaScript #Regex #TechTwitter
1
2
1,284
David Johnston retweeted
I have never wanted anything more in my life
47
49
21
719
113,519
I've published docs on Caching and Server Timing headers for the Epic Stack: github.com/epicweb-dev/epic-… 🎉 (Should still be interesting if you're not using the Epic Stack. May inspire you to add some of the same concepts to your own app).
4
20
215
49,096
🤔
Dev stuff I’m thankful I left behind: - container orchestration - DB migrations - self-rolling auth - fully native mobile apps - Docker - git rebase - code coverage - working on Linux - Python
1
152
Honestly making a simple message queue in Postgres is way too easy. The below lets me pluck print jobs from the database giving me "exactly once" delivery with retries in the event that the transaction fails somewhere.
2
2
1
19
13,604