Tuesday 18 November 2014

Suitability of Event Driven Languages. D1

In this post I will describe how suitable is Event Driven Language for non graphical applications.  Before I do that, I will first of all I would like to tell me readers what Event Driven Language really is. Event driven programming relies on the user to give inputs to a program and then the program executes instructions accordingly. Outputs can be in the form of sound, graphical message or a physical process in case of  a machine. The process is based on the concept of "if statements" ,  "else if statements" and "else statements" For example, if the user inputs this, then  then give the user that else if the user inputs then give the user that else give the user this.

Now I will explain about the suitability of event driven languages on non graphical applications in comparison to graphical applications. When we look at graphical applications, the first thing that comes to mind should be a software. More specificly , an operating system. In my M1, I explain how an Operating System is heavily based on user interaction and thus giving the conclusion that Operating Systems are event driven. Now as you know, Operating Systems are used widely and vastly throughout the world. However this does not mean the graphical applications are taking over non graphical applications.

Event Driven Languages are used in non graphical applications as well. When I say "non graphical applications" I mean Microwaves,Washing Machines and even our day to day peripheral devices such as a mouse or a keyboard. The absence of machines such as a microwave and a washing machine could cause great disturbance in our day to day life. Without Keyboards and a mouse we could not even perform the basic functions needed to operate an operating system so event driven is essential for non graphical applications.

The use of graphical applications seems more appealing to users than non graphical applications. The greatest example infront of us is DOS. DOS did not have a graphical user interface. It used to have a command lines. After a while, Microsoft developed a Graphical User Interfaced Operating System by the name of Windows. Windows was much preferred over DOS. Another example infront of us today is the use of a keyboard. We can judge that over a vast period of time, keyboards will remain non graphical and would continue to be so as they do not require a graphical unit. One last example that I would give you is the TV remote. This is also a non graphical application.

It does not seem to us that Event driven will be used completely by graphical applications in the future. The use of non graphical applications via Event Driven have always remained in some areas and look as if they will continue to remain.

1 comment: