The creation of the language was closely associated with the Sun company, the Java language was created here in 1992. Its goal of Java is to make portable applications between multiple systems and even different architectures. The new multiplatform language also has a friendly syntax similar to the C language (so-called C-like syntax) and should contain things that C++ does not have (i.e. garbage collector).
The following description will be a bit technical. If you're interested in this sort of topic, feel free to read the Object Oriented Programming article, or don't worry about it and ignore the following paragraph (it isn't all that important)
executed according to its source code. The syntax is C-like and the language is
dynamically typed. In fact, it only contains one numeric type which is
string for text,
true/false values and
Object for anything else. The language is
object oriented but there's a huge difference in the design. Objects are the
so-called functional paradigma, which allows us to store a function into a
common variable. This apparently simple property allows us to pass the functions
in the parameter of another function (the so-called callback) or even use the
function as a constructor for an object. Object oriented programming here seems
to take an entirely new form. Prototype inheritance also works here, so objects
can be parents of other objects. When I first noticed this, it seemed totally
perfect to me. I like that it's much more than standard OOP based on classes.
However, I also understand that it's something new and people don't welcome
paradigm. The language is now being used more and more and its time is just
about to come.
The previous paragraphs are based on a lecture by Tomáš Holas from the Unicorn College, which was really awesome.
Web page × web application
1 messages from 1 displayed.