S
s.subbarayan
Dear all,
Whats the common practice followed generally in the industry to
avoid large number of "nested ifs" in a C code?I am currently working
with a code which has a tremendous nests (in the order of around 25 or
more!)and feeling really tough to maintain it.Also the code is for a
application which has lots of dependecies.
My application demands that the current output is dependent on
previous output.Like this in my application I have now reached 25
dependencies in nests.
Need valuable suggestions to overcome this and to make my code easily
maintainable.
expecting your replys and advanced thanks for the same,
Regards,
s.subbarayan
Whats the common practice followed generally in the industry to
avoid large number of "nested ifs" in a C code?I am currently working
with a code which has a tremendous nests (in the order of around 25 or
more!)and feeling really tough to maintain it.Also the code is for a
application which has lots of dependecies.
My application demands that the current output is dependent on
previous output.Like this in my application I have now reached 25
dependencies in nests.
Need valuable suggestions to overcome this and to make my code easily
maintainable.
expecting your replys and advanced thanks for the same,
Regards,
s.subbarayan