Not sure if you are being sarcastic. Pascal strings are first class citizens, so it's trivial to add null-termination. Delphi actually does this to allow typecasting.
C, for example, doesn't have strings. It has pointers to memory that might contain characters and, if you are lucky and the stars are aligned, a zero to mark the end. I'll never understand how C strings were accepted as a string representation and not the mad source of bugs and insanity that they are.
> I'll never understand how C strings were accepted as a string representation
1972 was definitely not a good year for C standardization bodies. I blame that guy Ritchie and his audacity to hack a language on a whim. Even his GitHub page is empty (or misattributed).
I also think Delphi is awesome. Don't feel the same "get worse with every release" vibe that you do. But, if you do, you could also check out Oxygene: https://www.remobjects.com/elements/oxygene/
Maybe I'm imagining things, but every HN thread about a new AI model seems to follow the same pattern, has the same arguments and talking points. The only difference is the version numbers of the AI models mentioned.
Ted Nelson apparently predicted it as early as 1965. In his autobiography Possiplex there is a chapter named "My Box of Crayons, 1965", where he shows some of his early sketches, one of which looks just like any ad-infested blogspam website from today. He used it in an ACM presentation, but I can't find it on the web.
C, for example, doesn't have strings. It has pointers to memory that might contain characters and, if you are lucky and the stars are aligned, a zero to mark the end. I'll never understand how C strings were accepted as a string representation and not the mad source of bugs and insanity that they are.
reply