On Mon, Jul 5, 2021 at 2:29 PM Clem Cole <clemc@ccc.com> wrote:

On Mon, Jul 5, 2021 at 4:16 PM Dan Stromberg <drsalists@gmail.com> wrote:
A null-terminated array of char is a petri dish.  A proper string type is more like a disinfectant.
Hrrmpt.... maybe (in theory), but I can say that never seen it really work in practice --  bwk in Why Pascal is Not My Favorite Programming Language describes much of the practical realities of this sort of choice:

I think language designers since Pascal have learned from Pascal's mistake there.

Supposedly even Borland's TurboPascal had better strings than vanilla Pascal.