Question Locked

OOSE Vs. Structured SE

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

People comment that Object-oriented software engineering is good for big project(that could be done by a group of people). But it is not advisable for one man project. I don't understand the reason. The other thing is what is the advantage of OOSE over Structured software engineering?

Regards,

benyam_dessu@yahoo.com

4 replies

by tony hopkinson

I've done one man and team projects in both.

The advantage of OO?
Two fold.

First it's far easier to describe real world objects e.g. a customer or an order in 'english'. This gives you confidence that parts of the requirement hasn't been omitted. Equally it gives you a chance for a one to one mapping from requirement to implementation. To be quite honest in business IT this is by far the biggest boon.

The second reason is technical. OO describes the real world concepts in terms of the operations you wish to carry out on them.

An integer is something you can add, subtract, etc not four bytes of storage somewhere in memory.

OO is structured engineering, parts of the structure are explicit that's all.

Without OO, you had one routine to cope with storage , one for each operation, be it processing or presentation. All links between these routines were added through code, in OO they are added through the structure, or at least should be if you've done it properly.

PS. Be prepared for spam, it's not a good idea to stick your email right out in public like that.

by jaqui

Everyone always says OO is better than Procedural, for any project.

In addition to the reasons Tony mentioned, with OO code you only have a few functions in each file, at most a few hundred lines of code. much easier to debug than a Strucured / Procedural code, where you have millions of lines of code in one file.

by onbliss

I have not any such comment. The word "advisable" suggests that it is a caution. There are some projects that are far too simple and OO might be an overkill.

Say, you had a Sales Order screen, with the possible operations like Save, Load and Delete. If you want to separate out the UI logic code and the business logic, then OOPS offers a better and easier way to do this. So you would encapsulate the Sales Order operations in a Sales Order object, and also make the Sales Order contain its own data.

This discussion is closed to new replies.