Skip to Content
0
Former Member
Jul 22, 2008 at 11:38 AM

How to avoid hard coding in Programming

449 Views

Hi,

For preparing a Sales report we need to fetch Excise, Tax and

Education cess.

While doing the programming condition types of excise, tax and education cess were given to technical consultants.

It is like hard coding the programming. In future if a new condition type is created then it wont be calculated.

What are the ways to avoid hard coding?

regards,

sathya