Hacker Newsnew | past | comments | ask | show | jobs | submit | kamma4434's commentslogin

I found it an improvement too

In fact, everyone will ask their llm to write their own app, and it better be correct…

With or without the original interface, twitter is still a dumpster fire

There is no good ORM -like it says here https://github.com/l3nz/ObjectiveSync “Bad practice - if you hide the database, you may get something done quickly, but it's a bad idea. If yor Java code expects to have a collection of one million objects as an array, it does not matter if they are lazily loaded or not - some code somewhere might want to iterate over them, and this will kill the process. You cannot really forget that there is a database somewhere, and you should not do it.”

ORMs based on the query object pattern don't hide the database, but make SQL more reusable/composable (e.g. SQLAlchemy, JOOQ, etc).

https://martinfowler.com/eaaCatalog/queryObject.html


One wonders if that’s an ORM at all or a query composer…

I’m not sure how they come up with the 20-line example anyway - it’s one join.

Traditionally SQL uses a lot of lines because you put one thing per line, but so what?


Me too - I get the feeling it’s the same garbage at a different price point.


I’m no rustacean but it’s high time we do better than C.


So make one already. Rust isn't it.


There are plenty: D, subsets of C++, go, nim, zig.

The problem is inertia and C programmers’ stubborn insistence on ABI compatibility and “performance” (which is rarely materially at stake), not a lack of alternatives.


This is one of the beauties of Clojure’s spec. You can define a ‘type’ that is a string which length is a prime number and contains only Ascii characters but ‘x’. To put those invariants in code and not in your head is so liberating.


Don't know anything about clojure, but isnt this true with any language or library that implements schema validation? I'm thinking zod, for instance. Does clojure make it trivial?


I totally forgot about “applets”. Those were really bad! The browser would freeze for seconds while they were loading. Good riddance!


+1 for Flora Incognita. This is what apps should be.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: