Beta (programming language)

from Wikipedia, the free encyclopedia
BETA
Paradigms : Object-oriented programming language
Publishing year: 1992
Developer: Kristen Nygaard
Dialects: gbeta
Influenced by: Algol 68 , Simula
daimi.au.dk/~beta

BETA is a pure object-oriented programming language that - like Simula  - was developed in Scandinavia. Technically, BETA offers some special properties; thus classes and procedures are viewed as a common concept, the “pattern”. Classes are defined as properties or as attributes of objects. A class cannot therefore be created without the context of an explicit object. BETA therefore also supports nested classes.

Classes can be defined virtually (similar to virtual methods in other programming languages). Virtual entities cannot be overwritten; instead, they are redefined or specialized.

BETA uses the so-called "Strong Types", a large part of the type consistency checks take place during compilation. Since a full type consistency check during compilation would restrict the programming language too much, BETA achieved a balance between flexibility and code stability.

The BETA programming language was still being used in computer science courses at many universities in the late 1990s.

Since 2005 it has also been possible to use BETA in .NET or in the JDK environment. Accordingly, these two variants have also been defined as BETA.NET and BETA.Java.

At the History of Programming Languages ​​conference (HOPL) held by the ACM every 15 years , BETA was represented at HOPL III by the contribution The when, why and why not of the BETA programming language .

The BON / Kogge tool supports object-oriented analysis and design using the BON method . The code frames are then generated from the design model in the object-oriented programming language Beta at the push of a button. Regeneration is excluded. The tool can be compared to Rational Rose or Together , but not commercial and also not as extensive. BON is a notation method like UML , BON was created much earlier and was, among other things, an inspiration for the design of UML.

Example program in BETA

ORIGIN '~beta/basiclib/betaenv';
(* The classical "Hello, World" program in BETA *)
--PROGRAM: descriptor--
(#
do 'Hello, World!' -> Screen.PutLine;
#)

Explanations

The special feature is the "assignment arrow", because the text 'Hello, World!' Screen.PutLine the pattern is assigned .

See also

literature

Web links

Individual evidence

  1. Lars Bak, Jørgen Lindskov Knudsen, Ole Lehrman Madsen, Claus Nørgaard, Elmer Sandvad: An overview of the Mjølner BETA system . April 1991
  2. Study Guide 2004. ( Memento of the original from February 27, 2007 in the Internet Archive ) Info: The archive link was inserted automatically and has not yet been checked. Please check the original and archive link according to the instructions and then remove this notice. (PDF; 482 kB) University of Dortmund @1@ 2Template: Webachiv / IABot / inpud.cs.uni-dortmund.de
  3. research.ihost.com
  4. BON / Kogge = Business Object Notation / Koblenz Generator for Graphical Design Environments