The philosophy behind data types in Ring

Hello

The Ring programming language is designed to be SMALL
The language provides the basic constructs that you need to do anything!
One of the goals is to keep the basic constructs simple and small as possible

Using Lists in Ring you can
* Create Arrays (one data type)
* Create Lists (Mix of data types)
* Create Tree (Nested arrays)
* Use String Index (Looks like Dictionary/Hash Table)

The same principle is applied to Numbers
* You can use the number for int value
* You can use the number for double value
* You can use the number for Boolean value (True/False)

The sample principle is applied for strings
* You can use the string for storing text
* You can use the string for storing binary data
* You can use the string for storing date
* You can use the string for storing time

And we have Object Oriented Support + Operator Overloading where the programmer can define new data types and use them as default types defined by the language

So We have
* A small language that someone can pick in little days
* A fast language that provide primitive types (String – Number – List – Object)
* A flexible language that can be extended using OOP to add new types according to the application domain

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s