Better HN
topnewbestaskshowjobs
Log inSign up

tatut

5 karma · joined Mar 30, 2012 (14y ago) · 4 submissions

Submissions

comment 2y ago · link · parent

Not a single mention of diet or food...

https://twitter.com/travelingenes/status/1773126285633507786

comment 2y ago · link · parent

yes, I have plans to try adding some query helpers eventually.

One could imagine representing queries as compound terms, like: q(user(id=Id, name=like("Bob%"), email=Email))

which would query, from user table and bind Id and Email for all matches. I plan to experiment with something like that.

comment 2y ago · link · parent

that is coming, once I get it a bit more developed... this isn't anywhere near usable for real yet

comment 7y ago · link · parent

This is backwards. Rich did not advocate for changes that break promises.

The point in the talk is that "strengthening a promise" should not be a breaking change. Changing return type from "T or NULL" to always returning T. The case where you previously couldn't guarantee a result, but now you can.

The other case "relaxing a requirement" also should not be a problem. The case where you previously had to give me a value, but now I don't need it and can do my calculation without it.