But at the same time, I don't want to force folks to *have* to implement ok() and error() for functions... but we *have* to consider new ways to build programming languages if we are going to push the threshold of how we interact with computers. So something like:

func get_profile(id number) Profile {
r = db::query("customers_table", id) {
ok: { |v| v},
error: { |e| return_error("Unable to query db: "+ e.msg}

Is starting to make sense to me.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!