HackerTrans
トップ新着トレンドコメント過去質問紹介求人

genkoph

no profile record

投稿

Hacker News Equivalent for Musicians?

2 ポイント·投稿者 genkoph·27 日前·0 コメント

How do you build friendships online?

3 ポイント·投稿者 genkoph·10 か月前·1 コメント

コメント

genkoph
·10 か月前·議論
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.
genkoph
·10 か月前·議論
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