Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Procedural Programming with UML Modelling

Tags:

uml

I want to design my program with UML modeling but my programming language paradigm is procedural not object oriented. I hear many programmers say "UML is not only for object oriented programming." Is this True?

So, from where should I start? What diagrams are to be used for procedural programming. Please mention which UML diagrams are helpful.

like image 830
Bcktr Avatar asked Mar 13 '14 01:03

Bcktr


People also ask

Can UML be used for procedural programming?

Yes, it is true, all of the diagrams in UML can be used for procedural languages. In fact, some UML modeling tools can actually generate C code from class diagrams!

What is procedural programming with example?

Procedural Programming is the use of code in a step-wise procedure to develop applications. For example, to develop a simple Bank Account App procedurally: Creating an account for an individual ( account ) Getting an account to deposit or withdraw funds ( getAccount , deposit , withdraw )

What is procedural programming in programming?

Procedural programming is a programming paradigm, derived from imperative programming, based on the concept of the procedure call. Procedures (a type of routine or subroutine) simply contain a series of computational steps to be carried out.

What is UML modeling with examples?

A Unified Modeling Language (UML) diagram provides a visual representation of an aspect of a system. UML diagrams illustrate the quantifiable aspects of a system that can be described visually, such as relationships, behavior, structure, and functionality.


1 Answers

UML has many diagrams. Only class diagrams are done directly for OOP conception. Object and Composite structure diagrams are not so strict already.

All other diagrams can be used without and apart from the OOP. Sequence, Timing, Activity, Communcation, Use case, Interaction Overview, State Machine, Package, Deployment, and Component diagrams work OK.

So, the only diagram not for the direct use is the class diagram, that you simply needn't in the functional programming.

like image 108
Gangnus Avatar answered Oct 06 '22 14:10

Gangnus