Coding 2023-08-07

Tags:
By Max Woerner Chase

One thing that I'm not sure about when it comes to a standard library for NABTO is, what kinds of data types are useful to have? My intention is that NABTO should be usable for writing scripts to execute from the shell, simple low-traffic internet-connected operations like a small IRC bot, stuff like that. And I'd like it to scale up to bigger stuff, but I think it makes sense to nail down the behavior, and then investigate what it takes to scale it.

Anyway, there's algebraic stuff I definitely want, like booleans, optionals, lists, results, eithers (OCaml draws a distinction), maps, sets, arrays, tuples. And there definitely need to be facilities for manipulating bytes, and some kind of good interface to files full of bytes.

But I also want to have the ability to deal with text and numbers, and these abilities raise a number of questions that people feel very strongly about:

My thoughts on this so far:

Anyway, it's late and I want to wrap up.

Good night.