-
Book Overview & Buying
-
Table Of Contents
Learn Bosque Programming
By :
Bosque provides more than one single type system. It gives us more flexibility and provides us with more options for building our programs. In this section, we will learn more about each type system so that we can understand how each type adds value to the software construction process.
Type systems in a programming language first appeared for the purpose of allowing the programmer to choose how data would be stored in memory.
One of its first implementations can be found in FORTRAN, which allowed us to define whether a variable would store an integer or floating-point data using some specific characters at the beginning of the variable identifiers' names.
Later, type systems were also used to prevent errors in execution time through type checking, which was implemented for the first time in ALGOL 60.
Nowadays, type systems also provide abstraction mechanisms that provide simplified interfaces to interact with data structures, thereby allowing the...