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

frodowtf

no profile record

コメント

frodowtf
·2 年前·議論
[flagged]
frodowtf
·2 年前·議論
Fascinating how Cuba is still standing in spite of all embargoes.
frodowtf
·2 年前·議論
... the obligatory "historical context" nobody asked for.
frodowtf
·2 年前·議論
If you want to use this pattern, you'll probably end up with a lot of duplicated code e.g. for SQL query builders. I could imagine that Rust makes this kind of pattern easier due to traits and macros. A lot of languages do not have these features.

And then of course Rust people care about correctness more in general.
frodowtf
·2 年前·議論
It also seems to have the same concurrency issues as described in the article. At least from my experience the "database is locked" error appears quite often.
frodowtf
·2 年前·議論
Usually, I go with openapi-generator and pick the typescript-fetch template. You can use that with whatever js-based frontend framework you want.
frodowtf
·2 年前·議論
> writing a lot of boilerplate code to connect the frontend and backend.

OpenAPI. django-ninja supports it out of the box.
frodowtf
·2 年前·議論
> ... very low user adoption of Home Screen web apps.

Well, if nobody wants to play with our total clusterfuck of inconsistent APIs, we might as well drop support for them >:(
frodowtf
·3 年前·議論
so why is nobody implementing stuff in smalltalk?
frodowtf
·3 年前·議論
Well, that comment is definitely "masculine"
frodowtf
·3 年前·議論
As long as casinos are a thing, Bitcoin stays a thing.
frodowtf
·3 年前·議論
Well, I don't.
frodowtf
·3 年前·議論
`panic` has nothing to do with error handling though. If you use it, you know that your callers cannot recover from it.

Throwing an exception implicitly delegates error handling back to the caller, but they are not even notified about it. (talking about OCaml)
frodowtf
·3 年前·議論
People say that OCaml is like Rust, but unlike Rust, OCaml has Exceptions that could appear everywhere. How is that safe?
frodowtf
·3 年前·議論
> food is painfully bland

You mean like... not invested with tons of sugar? What kind of bland are we talking about?
frodowtf
·3 年前·議論
It's time to stop.
frodowtf
·3 年前·議論
Kysely looks like the thing most people would want. It's not a full ORM though - just a well-typed query builder.

https://kysely.dev/
frodowtf
·3 年前·議論
Pretty sure the maintainer is also a Discord mod.
frodowtf
·3 年前·議論
DRY is by far the most overrated software engineering principle and constantly pushing for it only leads more developers down the way of creating wrong, irreversible abstractions.
frodowtf
·3 年前·議論
"Can't" as in "don't want to"