Archive for July, 2006

Negative strings

Monday, July 31st, 2006

One often wants to place separators between substrings.
For instance commas between a list of words.
The code has to detect whether it is adding the last element to avoid adding a final comma.
It would simpler if you could subtract a string at the end.

(- “, “) + “, a, b, c, d” = “a, b, c, d”
“a, b, c, d, ” - “, ” = “a, b, c, d”

Non-commutative!

What is this all about?

Sunday, July 30th, 2006

Ansemond is my attempt at benefiting the world using my craft: programming.

This is more difficult that one might think, because technology expresses no view. It can be used to benefit or harm, and does not change the way people think. As Arthur C Clarke said, the best technology is indistinguishable from magic, it is invisible to its user.

Unfortunately, technology is more often put towards destructive uses than I would like. I am developing end-user Mac software which I hope will improve people’s lives.