Readit News logoReadit News
davidkunz commented on Patterns.dev   patterns.dev/... · Posted by u/handfuloflight
hyfgfh · 9 days ago
Agreed! The problem is that some 'seniors' never cared to learn patterns in the first place. That’s a huge problem for frontend, where we have increasingly complex architectures and people with very little experience with design.

Even some principles aren't known. I always recommend the book Head First: Design Patterns. It's in Java, but the lessons can be applied in every language.

Unfortunately, we are in a 'post-knowledge' era... I don't know how we can keep things up at this pace.

davidkunz · 9 days ago
> It's in Java, but the lessons can be applied in every language.

I can only discourage anyone from applying Java patterns all over the place. One example in JavaScript: There was a functionality that required some parameters with default values. The plain solution would have been:

    function doStuff({ x = 9, y = 10 } = {}) {  ... }

Instead, they created a class with private properties and used the builder pattern to set them. Totally unnecessary.

davidkunz commented on Zig's new plan for asynchronous programs   lwn.net/SubscriberLink/10... · Posted by u/messe
ecshafer · 17 days ago
I like the look of this direction. I am not a fan of the `async` keyword that has become so popular in some languages that then pollutes the codebase.
davidkunz · 17 days ago
In JavaScript, I love the `async` keyword as it's a good indicator that something goes over the wire.
davidkunz commented on OpenAI acquires Sky.app   openai.com/index/openai-a... · Posted by u/meetpateltech
davidkunz · 2 months ago
One step closer to Skynet
davidkunz commented on I see a future in jj   steveklabnik.com/writing/... · Posted by u/steveklabnik
steveklabnik · 2 months ago
I think 'jjhub' is a decent immediate first approximation, and is often how I've started out talking about it with people. At the same time, we have to offer real value here, as you can already use jj with github (and I have for a long time now), so there's more to it than that. But yes :)
davidkunz · 2 months ago
What I would love:

- Everything locally stored in the repo: PRs, comments, issues, discussions, boards, ... - CLI first - Offline first (+ syncing) - A website for hosting/presentation

davidkunz commented on I see a future in jj   steveklabnik.com/writing/... · Posted by u/steveklabnik
davidkunz · 2 months ago
jj describe -m "Good luck, Steve!"
davidkunz commented on My approach to building large technical projects (2023)   mitchellh.com/writing/bui... · Posted by u/mad2021
davidkunz · 2 months ago
I have huge respect for Mitchell, it's impressive what he achieved.

I agree with all the points of this article and would like to add one: Have a quick feedback loop. For me, it's really motivating to be able to make a change and quickly see the results. Many problems just vanish or become tangible to solve when you playfully modify your source code and observe the effect.

davidkunz commented on Linus Torvalds Guitar Pedal Project   github.com/torvalds/Guita... · Posted by u/phyzix5761
davidkunz · 3 months ago
> there is very little point to any of this to anybody else. Don't expect some great useful guitar pedal experience.

Yeah... He said similar things about Linux.

davidkunz commented on Behind the scenes of Bun Install   bun.com/blog/behind-the-s... · Posted by u/Bogdanp
aleyan · 3 months ago
I have been excited about bun for about a year, and I thought that 2025 is going to be its breakout year. It is really surprising to me that it is not more popular. I scanned top 100k repos on GitHub, and for new repos in 2025, npm is 35 times more popular and pnpm is 11 time more popular than bun [0][1]. The other up and coming javascript runtime, deno is not so popular either.

I wonder why that is? Is it because it is a runtime, and getting compatibility there is harder than just for a straight package manager?

Can someone who tried bun and didn't adopt it personally or at work chime in and say why?

[0] https://aleyan.com/blog/2025-task-runners-census/#javascript...

[1] https://news.ycombinator.com/item?id=44559375

davidkunz · 3 months ago
I tried to run my project with bun - it didn't work so I gave up. Also, there needs to be a compelling reason to switch to a different ecosystem.

u/davidkunz

KarmaCake day1274January 10, 2021
About
DevOnDuty: https://www.youtube.com/@devonduty

GitHub: https://github.com/David-Kunz

View Original