Hard Code

5 pts.
Tags:
Collecting & entering  data in on bounces for a website.  Boss told me to put in a "hard Code" for a site with no data for this category. Should I average the last 3 months of data & use that for the "hard code". What's meant by a hard code?

Software/Hardware used:
Microsoft

Answer Wiki

Thanks. We'll let you know when a new response is added.

Something is hard coded when you put it fixed in the application’s code. A hard coded value is not read from any database or parameter file, i.e. it is not variable.

As for using an average of the last 3 months, that is something you should ask your boss.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    BTW, it is not a good practice to hard code things, you should try to avoid it unless there is a very good reason to do it.
    69,835 pointsBadges:
    report
  • BigKat
    8,220 pointsBadges:
    report
  • TomLiotta
    A hard-code in this case essentially is a constant. You might still want to put the value into some external "properties" file or other object rather than simply putting it directly in your program code. In the future, it should be easier to adjust the value if you can avoid changing program code. Maybe you'll discover that a two-month or four-month average is a better one. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following