Christopher Anderson and Sophia Drossopoulou

BabyJ - from object based to class based programming via types

In WOOD '03, volume 82 of ENTCS Elsevier, 2003


The popularity of object based languages has risen dramatically in recent years, owing to their use as scripts in HTML pages, or for interfacing with databases. A characteristic of these languages is interpretation and weak typing. Weak typing allows rapid prototyping but also runtime type errors. Therefore, it is desirable at a later development stage to have some assurances that your program will not go wrong.

Class based programming languages usually have static typing and thus give more robust programs. However, owing to the rigidity of the type system prototyping can be difficult.

We propose a language, BabyJ, that combines the benefits of object based programming and types. BabyJ allows rapid ``typeless'' development and also gives the programmer the opportunity to incrementally annotate the program with type information. Once fully typed, a BabyJ program can be converted to an equivalent Java program, that can be developed further.


[ bib | .pdf ]

Back


This file has been generated by bibtex2html 1.43