Content deleted Content added
m Disambiguating links to Object-orientation (link changed to Object-oriented programming) using DisamAssist. |
|||
(10 intermediate revisions by 10 users not shown) | |||
Line 1:
{{multiple issues|
{{
{{Technical|date=September 2010}}
}}
{{Infobox programming language
Line 24 ⟶ 25:
}}
'''BETA''' is a pure [[Object-oriented programming|object-oriented]] language originating within the [[Kristen Nygaard|"Scandinavian School"]] in object-orientation where the first object-oriented language [[Simula]] was developed.<ref name="overview">Source: [http://daimi.au.dk/~beta/Papers/BetaOverview/BetaOverview.pdf] Ole Lehrmann Madsen: An overview of BETA</ref> Among its notable features, it introduced [[nested class]]es, and unified classes with procedures into so called patterns.
It has been in development since 1976, with implementations known since 1986, by [[Kristen Nygaard]] together with Bent Bruun Kristensen, Ole Lehrmann Madsen, and [[Birger Møller-Pedersen]], at the [[University of Oslo]].
The project is inactive as of October 2020.<ref>{{Cite web|url=https://beta.cs.au.dk/|title=The BETA Language Home Page|website=beta.cs.au.dk}}</ref>
==Features==
Line 48 ⟶ 53:
#)
</syntaxhighlight>
That is, a class called ''point'' will have two fields, ''x'' and ''y'', of type [[integer (computer science)|integer]]. The symbols ''(#'' and ''#)'' introduce patterns. The colon is used to declare patterns and variables. The ''@'' sign before the integer type in the field definitions specifies that these are integer fields, and not, by contrast, references, arrays or other patterns.
As another comparison, a procedure in C++ could have the form
Line 82 ⟶ 87:
===Hello world!===
This snippet prints the standard line [[Hello world program|"Hello world!"]]:<br />
<pre>
(#
Line 90 ⟶ 95:
==Further reading==
*Ole Lehrmann Madsen, Birger Møller-Pedersen, Kristen Nygaard: Object-Oriented Programming in the BETA Programming Language, [http://daimi.au.dk/~beta/Books/index.html The Mjølner System: Books]
*Bent Bruun Kristensen, Ole Lehrmann Madsen, Birger Møller-Pedersen: The When, Why and Why Not of the BETA Programming Language, ACM History of Programming Languages III, Conference, San Diego 2007, [https://beta.alexandra.dk/sites/default/files/pdf/BETA-HOPL-V4.7_ref.pdf ] {{Webarchive|url=https://web.archive.org/web/20170211155057/https://beta.alexandra.dk/sites/default/files/pdf/BETA-HOPL-V4.7_ref.pdf |date=2017-02-11 }}
==References==
{{Reflist}}
Line 98 ⟶ 104:
*{{Official website|https://beta.cs.au.dk/}}
*[https://web.archive.org/web/20040603082024/http://www.daimi.au.dk/~eernst/gbeta/ gbeta] Generalized BETA
{{Authority control}}
{{DEFAULTSORT:Beta}}
|