Re: I AM TSCBOOKS

Date: 2009-04-11 07:58 pm (UTC)
FWIW, the guy's explanation makes sense. Artificially increasing the prince to $1000 for an erroneous entry is not the most brilliant idea--the system should filter out such entries and instead report an error some other way--but I can well imagine someone programming the system that way because it's easy and they don't realize it could cause serious problems later on. I might use a trick like that myself if I were working on some unimportant scripts, but it's not something appropriate for a production system. Detected errors shouldn't make it into the output in a production system, they should be caught and reported elsewhere.

Wrt filtering, it seems to me he hadn't realized that as-yet-unpublished books would enter the system, so there wasn't even the thought of code to handle that. The system just detected "an error" and this was its (admittedly very poor) way of handling it.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

msagara: (Default)
Michelle Sagara

April 2015

S M T W T F S
   1234
567891011
12131415161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 20th, 2026 03:53 pm
Powered by Dreamwidth Studios