BETA (programming language): Difference between revisions

Content deleted Content added
No edit summary
Slight reformatting and introduction
Line 22:
}}
 
'''BETA''' is a pure [[object-oriented]] language originating within the "Scandinavian School" in object-orientation where the first object-oriented language [[Simula]] was developed. Among its notable features, it introduced [[nested class]]es, and unified classes with procedures into so called patterns.
 
==Features==
 
===Technical overview===
 
From a technical perspective, BETA provides several unique features. Classes and Procedures are unified to one concept, a [[BETA pattern|Pattern]]. Also, classes are defined as properties/attributes of objects. This means that a class cannot be instantiated without an explicit object context. A consequence of this is that BETA supports [[nested class]]es. Classes can be virtually defined, much like virtual methods can be in most object-oriented programming languages. Virtual entities (such as methods and classes) are never overwritten; instead they are redefined or specialized.
Line 28 ⟶ 32:
BETA supports the object-oriented perspective on programming and has comprehensive facilities for procedural and functional programming. It has powerful abstraction mechanisms to support identification of objects, classification and composition. BETA is a statically typed language like Simula, [[Eiffel (programming language)|Eiffel]] and [[C++]], with most type checking done at compile-time. BETA aims to achieve an optimal balance between compile-time type checking and run-time type checking.
 
===Hello world!===
This snippet prints the standard line [[Hello world program|"Hello world!"]]:<br>
<pre>
<code>(# <br>
(#
do ’Hello world!’->PutLine <br>
<nowiki>#)</nowiki> </code>
#)
</pre>
 
==External links==