• A "string" is made up of LEN-1 strings

    From Hen Hanna@21:1/5 to All on Sun Feb 26 19:11:01 2023
    As Skip pointed out, in C and most of its derivatives "C" is a string and 'C' is a character.


    that reminds me... that ... i like how in Scheme, a string is a sequence of characters, but using them makes for verbose programming.


    i can't quite understand if Python's definition of the string 'ab' as being made up of two strings ( 'a' and 'b') is theoretically clean (canonical).... it surely makes many programs short.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)