Jump to content
xisto Community
rapco

UML For Non-OOP Software what do you think?

Recommended Posts

Well, i'm doing some programming for my thesis. It's on Ti-Basic code (for texas instruments calc, 89, 92, v200).And i wan't to know if UML has any goodies for me, ven tough i'm doing object oriented programming at all!

Share this post


Link to post
Share on other sites

Wikipedia has this to say about UML

Unified Modeling Language (UML) is a non-proprietary, object modeling- and specification language used in software engineering.

You can't really UML a non-OOP program because there would be nothing to make from it. The idea of oop is to have several separated classes which all together perform a task, instead of having one program that does it all.

The advantage of oop is that with larger programs, you won't lose 'control' over them and can more easily maintain them BECAUSE they are loose components.

Ti-basic (which is like any other basic language) doesn't work this way,since they are usually one program file and they usually just run through the code line by line. And although it will work for simpler programs, you'll lose control of your program with bigger ones and updating will be hard.

The only thing you could use from UML is

use case diagrams (example : http://forums.xisto.com/no_longer_exists/)

But that wouldn't be really usefull when coding.

The most usefull things of UML are class-diagrams and sequence diagrams, which you can't create for non-oop programs since they are not built of loose components.

Share this post


Link to post
Share on other sites

well.. i read that non-oop programs were also modelables (i don't know how to write this word ;)) by UML...Well, my ti-basic progs are not simple or small.. they use over 50 files (only the mechanical part), so.. in that case?

Edited by rapco (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.