Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But you can use hardcoded while referring to interpreted languages as well, it's a bit of a difficult term. I feel it's more about repeatability when non of the input changes.

I would define it more broadly, "same input == same output, with the same program" and using that definition all computer programs are hardcoded in the end.

There is a gray area, you can consider that even programs that use random() are in the hardcoded category as with the same (semi)random value they will produce the same output. You just need to think of the random value as input, since not all input needs to be user input.

 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: