We (Russians) have got such experience already. The language is 1S where
syntax is Cyrillic. This kind of syntax doesn’t like even Russian patriots.

чт, 11 апр. 2019 г., 23:16 Benjamin Morel <benjamin.mo...@gmail.com>:

> The problem with this approach is that while it may become more readable
> for the native speaker, it becomes pretty much impossible to read for the
> rest of the world.
> Having one single syntax for everyone allows all programmers in the world
> to share code. I can't imagine a world where I'd find a library based on
> Russian PHP on GitHub, that I can't contribute to or even understand (I
> probably wouldn't use it).
> English has the huge advantage to be quite simple to learn for basic
> purposes, and it has a limited alphabet, composed only of ASCII letters.
>
> I'm not a native English speaker but have never been bothered by keywords
> being called IF and THEN, even when reading BASIC books as a child before
> taking any English course at school.
>
> This may be harder for people having a native language with a different
> alphabet, though.
>
> - Ben
>
>
> On Thu, 11 Apr 2019 at 22:32, Michael Morris <tendo...@gmail.com> wrote:
>
> > Submitted to the floor is a Wired article from 2 days ago I came across
> >
> >
> >
> https://www.wired.com/story/coding-is-for-everyoneas-long-as-you-speak-english/
> >
> > The manual of PHP is translated into multiple languages - but what are
> the
> > development hurdles of the language itself being multilingual?
> >
> > From what I understand of the compiler - maybe not that much.  The
> language
> > requires an opening tag, so we could hook into that like this example for
> > Japanese
> >
> > <?php[マニュアル]
> >
> > A PHP opening tag with such a qualifier would change over all function
> > names and reserved words. Could these would be set on a per file basis?
> >
> > The php.ini file could set the default language, the .htaccess file could
> > also on per directory.
> >
> > I'll stop there cause I know there are problems I haven't thought of. And
> > I'm not going to argue the syntax I just kicked out from the top of my
> head
> > is the best either.
> >
> > But I think it's worth the effort to at least look into the problem.
> Wired
> > has a point - people learn to code faster when they are working with
> their
> > own language. One of the stated goals of PHP's design has been
> > accessibility so this seems to be appropriate.
> >
> > I yield the floor to those smarter and wiser than I.
> >
>

Reply via email to