Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

It would be interesting to see how many reserved words of a language could be translated to an exact counterpart in another language.

Actually, there was a version of Microsoft Office where they translated their macro languages into German. I don't know why, but it looked somewhat weird to me.

I could imagine that it would work well with Chinese -- lots of concepts could probably be expressed using only one character. German, however, tends to be more verbose and is therefore probably less suitable.

It would be easy to translate keywords like "if", "else", "print", "unless". But I think I would have difficulties to find translations for more abstract concepts, like "map", "push", "grep", "unshift". But then, that's only logical. We only understand these keywords in English because we can imagine the concepts behind them. E.g. "push" only makes sense because we think of a stack when we use it. So translating keywords to other languages probably is mostly a matter of getting used to it.


In reply to Re: Re: Polyglot Challenges by crenz
in thread Polyglot Challenges by Petras

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-24 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found