On Fri, Mar 18, 2022 at 10:01 PM Elijah Stone <[email protected]> wrote:
> If text should be handled by the programmer, then there is no reason for
> it to exist in the language at all.

This makes no sense to me, as an english sentence:

How can a programmer write a program to handle text if the language
does not allow text to exist?

> Make the programmer deal with text using solely arrays of numbers.
> I think this would be much more coherent than the current scheme.

There are indeed some advantages to writing your programs that way.
And, nothing is stopping you from implementing your text manipulation
in this style.

That said, enforcing this approach on everyone would break almost everything.

And, that said, I imagine it would be useful to have a mechanism
which, when applied to a character sequence, throws a runtime error if
that sequence is not a valid unicode sequence. (Maybe we have one
already, and I just do not know about it?)

Thanks,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to