comp.lang.ada
 help / color / mirror / Atom feed
From: "Adem24" <adem24@adem24adem24.org.invalid>
Subject: YAPL - Yet Another Programming Language
Date: Sun, 29 Jun 2008 19:27:56 +0200
Date: 2008-06-29T19:27:56+02:00	[thread overview]
Message-ID: <g48gn4$6nd$1@aioe.org> (raw)

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



.




             reply	other threads:[~2008-06-29 17:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-29 17:27 Adem24 [this message]
2008-06-29 19:36 ` YAPL - Yet Another Programming Language Gary Scott
2008-06-29 22:52 ` thomas.mertes
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox