Diary

Previous: 2026-10, 2026-09

2026-11-01

It was a big temptation to use printf-style formatting, but there's a better one. I don't know where exactly it originates from, but it was (and probably still is) used in Python and allows referencing same argument multiple times.

I don't want any mini-language, so let it be simple: mandatory argument index (1-based) surrounded by curly brackets.

Any custom formatting must be done before calling pw_format function.

Wait, pw_format?

It just concatenates args. It must be something like... pw_argscat? No, it looks like scat.

Let it be pw_acat. It's more like in PetWay.