Event-driven paradigm
Event-driven
is a programming paradigm which we use to create programs. In this method the
main point is events. In other words a program’s execution is determined
by events. Event-driven is mostly used in GUI (Graphical User Interface). We can write event-driven programs in many
languages. And also some languages are specially designed to event-driven
programming and also it provides an integrated
development environment (IDE) to help
user to code easier.
In
event-driven programming there are many key features like, Trigger functions, Event handlers, Events, Event loops, Forms, Time
Driven. Those features are helping programmers to code their program
easily. Event-driver programming is easy than others because some codes are
automatically generate to users and also if it is a GUI then it will show
outputs as graphically. And users can understand the program and program is not
complicated.
Advantages
of Event-Driven programming
- · Can create more interactive programs
- · There are many more features
- · Most GUI uses event-driven programming
Disadvantages of Event-Driven programming
- · Event driven is more complex for simple programs
- · Often classes are not re-usable
- · Only useful in GUI programming
Event-Driven
languages
- · Visual basic
- · Visual C++
- · Java
Relationship between
programming paradigms
There are many programming paradigms
in programming technology. I have discussed three programming paradigms in this
report. If we talk about the relationships between them, there are some
relationships of each paradigm. Basically we use programming paradigms to build
a program. And this is not mean that we can create a program only by a
particular paradigm. We may build the same program in different paradigms.
some programming
languages supports multiple paradigms. In other words we can create a program
by using several programming paradigms in some languages. For an example if we
creating a calculator we can use class files , and also functions , events.
That means we are using many paradigms to create one software. Those are some
relationships between programming paradigms.
No comments:
Post a Comment