From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 108717,817f641aa902b0b0,start X-Google-Thread: 109fba,817f641aa902b0b0,start X-Google-Thread: 1014db,817f641aa902b0b0,start X-Google-Thread: 103376,817f641aa902b0b0,start X-Google-Thread: 10261c,817f641aa902b0b0,start X-Google-Attributes: gid108717,gid109fba,gid1014db,gid103376,gid10261c,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!aioe.org!not-for-mail From: "Adem24" Newsgroups: comp.programming,comp.lang.c++,comp.lang.c,comp.lang.ada,comp.lang.pascal.misc Subject: YAPL - Yet Another Programming Language Followup-To: comp.programming,comp.lang.c++,comp.lang.c Date: Sun, 29 Jun 2008 19:27:56 +0200 Organization: Adem24 Message-ID: NNTP-Posting-Host: 7m2dmmlCtTd3f0ZxvSxicQ.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 X-Newsreader: Microsoft Outlook Express 6.00.3790.0 X-Priority: 3 X-MSMail-Priority: Normal Xref: g2news1.google.com comp.programming:1367 comp.lang.c++:5652 comp.lang.c:7354 comp.lang.ada:951 comp.lang.pascal.misc:63 Date: 2008-06-29T19:27:56+02:00 List-Id: The World Joint Programming Language Standardization Committe (WJPLSC) hereby proclaims to the people of the world that a new programming language is needed for the benefit of the whole mankind in the 21st millenium. This new language not only differs from existing ones by new features and paradigms but which also brings real advantage by rigourously preventing bad programmer habits by omitting features which are outdated. In the proposed new joint language for the world (codename YAPL) several concepts in use by currently used bad languages have been eliminated. All UN member countries and organizations are urged to adapt these recommendations which are for the benefit and safety of the planet and the mankind: 1) There is no goto statement. Hidden goto's like break- and continue-statements are also omitted. 2) There is no return statement. Instead a result variable can be declared to which the result of a function can be assigned. 3) There are no automatic type conversions. When a subprogram should be used for different types it must be overloaded. 4) There are no variable length parameter lists. Instead it is possible to use arrays as parameters. 5) There are no default parameters. But it is easy to define two subprograms: One with and one without an additional parameter. 6) There is no special "parameter" called "self" or "this". In a procedure the receiving object is declared as formal parameter with a user-defined name. 7) There is no macro feature since this mechanism is too similar to the subprogram feature. Instead subprograms can be used in a more flexible way than in other languages. 8) There are no reserved words. 9) There is no conceptual distinction between functions, operators, procedures and statements. 10) The procedure calling mechanism is not based on a concept with an object-message pair (An object receives a message). Instead a match is done over a list of objects. This more general (and powerful) mechanism is called multimatch and it includes the simple object-message mechanism as special case. cu l8er Jesus DeCoder .