dev-resources.site
for different kinds of informations.
How Boring It Is to Write Articles or Talk to Certain Types of Developers These Days.
Hey folks! A couple of days ago, I wrote an article about ts-pattern
, sharing how cool it was to discover this library. I got some great feedback from people who appreciated what I shared. But, of course, there were also some comments criticizing my approach, arguing that I should just stick to basic switch statements or object literals. They mentioned that I shouldnât add another library that would increase the bundle size.
Come on, guys. Canât I write an article about something I found fun and wanted to share? You can use this library if you wantâIâm not saying itâs the best or that everyone should use it. Iâm simply sharing how cool and readable I found it for my use case. Iâm not trying to launch a rocket here or explain compiler optimizations to a new developer.
Itâs becoming tiresome to engage with developers who think they know everything and dismiss anything that doesnât align with their rigid principles. Sharing something I find interesting and enjoyable shouldnât be a battleground for those who love nitpicking. And when I read comments like âIf this happened at my company, Iâd block the PR,â I just thinkâwhat the hell, dude? Itâs just my personal opinion about something fun, not a performance-critical decision that will destroy your project.
Letâs be real: no project is perfect, and most have code smells like any other. So far, this is just a rant, but it wonât stop me from sharing things I find cool. See you guys online.
for someone that want to read here is the ts-pattern article: Article
Featured ones: