News for hackers. Stuff that matters.

genkoph

Re:Ask HN: What are you working on? (September 2025) on Tuesday September 30, 2025 @06:22PM (#45431957)
Hi, no worries, I understand your question.

I thought that most of the use cases for such a library could be boiled down to a single function that can wrap throwable pieces of code and convert their result to a Result type and that's exactly what I implemented.

I also wanted minimal amount of methods for the Result variant classes and delightful method names so I tried to do that and I'm happy with the results! (no pun intended)

It's just a little side project, not much thought has been put inside of it except the core idea behind it that I just explained.

Re:Ask HN: What are you working on? (September 2025) on Monday September 29, 2025 @05:34PM (#45419041)
I built an alternative to the Typescript package "neverthrow" called "no-exceptions"

I found neverthrow's api to be not very ergonomic so I built my own little version.

https://www.npmjs.com/package/no-exceptions

How do you build friendships online?

tldr: web developer doesn't have any tech friends, he can't find such friends locally, he wants to build new friendships online, he's not sure how to go about itMore than 4 years ago, I got my first job as a web developer where I found a lot of friends that I could talk to about tech, startups, programming, etc. I call those friends "tech friends". At the time we were working in an office but...

( Read More... | 1 comment | on HN )