[go: up one dir, main page]

0% found this document useful (0 votes)
512 views1 page

Advantages and Disadvantages of Decomposition

Decomposition involves breaking a complex programming problem down into smaller subproblems or sections that are easier to solve independently. This allows programmers to work on sections simultaneously, making development of large programs quicker. Well-designed subroutines or functions that are tested and documented can be reused, saving work and making future maintenance of programs easier.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
512 views1 page

Advantages and Disadvantages of Decomposition

Decomposition involves breaking a complex programming problem down into smaller subproblems or sections that are easier to solve independently. This allows programmers to work on sections simultaneously, making development of large programs quicker. Well-designed subroutines or functions that are tested and documented can be reused, saving work and making future maintenance of programs easier.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Advantages and Disadvantages of Decomposition

I find that using decomposition


Teams have to work together
You have to really understand the problem means that my programs often end
really effectively when they are
you're trying to solve to be able to up being shorter on the whole.
working on their own sections of
decompose it properly. Otherwise you'll
a program. Otherwise the parts
end up writing code you don't need.
won't fit together properly.
The sections of a program are
sometimes called subroutines
I can break the problem I have to solve
or functions
into smaller chunks and deal with them
one at a time. This makes it much easier
If I write a function I can test it really well
to deal with a complex problem.
to make sure it always gives me the right
result. It's much simpler to test small
Decomposition is when I break up a
sections of code than a long program
program into small sections.

Different people can code the sections If subroutines or functions have


of decomposed program at the same been documented well it makes
time. This makes writing a complex Once I have a useful function written I maintaining program in the future
program quicker as the jobs can be can probably reuse it in lots of different much easier as they are already in
divided up more easily projects. This saves me loads of work smaller chunks.

You might also like