comp.lang.ada
 help / color / mirror / Atom feed
* YAPL - Yet Another Programming Language
@ 2008-06-29 17:27 Adem24
  2008-06-29 19:36 ` Gary Scott
  2008-06-29 22:52 ` thomas.mertes
  0 siblings, 2 replies; 3+ messages in thread
From: Adem24 @ 2008-06-29 17:27 UTC (permalink / 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



.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-29 22:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-29 17:27 YAPL - Yet Another Programming Language Adem24
2008-06-29 19:36 ` Gary Scott
2008-06-29 22:52 ` thomas.mertes

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