Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

when prg is a good program?

Former Member
0 Likes
813

HI ,

When a program can be say as a good program?

When it is executing fine or when it satisfies the user requirement or execting fastly ?

Thanks,

Agalya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
774

Hi,

Which report have good optimization in the execution time as well as statisfies the user requirement then we can call it as good program. If not we can make it as good program:)

Regards,

Kumar.

6 REPLIES 6
Read only

Former Member
0 Likes
775

Hi,

Which report have good optimization in the execution time as well as statisfies the user requirement then we can call it as good program. If not we can make it as good program:)

Regards,

Kumar.

Read only

ThomasZloch
Active Contributor
0 Likes
774

- it does what it's supposed to do

- it has an almost linear runtime even when facing a growing database

- it uses database and memory resources efficiently

- it is clearly structured and has no redundant coding

- it does not use any global variables (except maybe in the main program)

- it is well-commented and easy to understand and maintain, also for the non-author

- it has a well-written documentation

wait...that's my programs!

Read only

Former Member
0 Likes
774

a program which does not a least something which is useful (usually for the user, sometimes for the programmer) is a no-sense program.

a program which does something but incorrectly is a bad and maybe dangerous program

a program which does something useful without major bugs, but very slowly is an annoying program

only a program which fulfills all three is a good program

Read only

Former Member
0 Likes
774

As far as user requirements are fulfilled(ofcourse which inclues fast execution too.User may not satisfy a program if it takes longer time than usual. Ultimately he should be happy.That is the aim.) and maintenance is easy for the program then it is good program.

reward points if helpful

RamaKrishna C

Read only

Former Member
0 Likes
774

Hello Agalya,

There are different views of being a good program:

From the "Manager"-perspective a good program has to adhere the given requirements and the performance has to look acceptable - at least on the development machine.

From the Developers standpoint all criteria Thomas Zloch mentioned are to consider. My personal emphasis is focused on the proper use of events (ABAP is an event driven language) like INITIALIZATION, AT SELECTION-SCREEN , well structured Subroutines etc. and to comply with naming conventions.

There are no fixed rules. Every developer is his own artist.

And: you have to have luck when your manager evaluates your work!

Have fun with your art,

Heinz

Read only

Former Member
0 Likes
774

Hi!!

First point to judge any code/program is user's point of view.

If user's requirement are meant and he is satisfied then everything is fine.

Others factors like time taken etc also matters but they are secondary things.

kindly reward points if helpful.