Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do I have to make my application dumb-proof

 
Ruben Guillen
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All

I am almost done with the development. I just have a question concerning the detail of the program. Do I have to make the application dumb-proof or just concentrate on the important functionality.

For example I allow the user to modify the customer field from the JTable directly, and I have not include any validation for the length of the entry, then the system just get the quantity of characters it needs and save correctly.

Any information is very welcome.

Regards.
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ruben Guillen wrote:
I am almost done with the development. I just have a question concerning the detail of the program. Do I have to make the application dumb-proof or just concentrate on the important functionality.

It depends on the audience. If this is just a simple utility that only you will be using, then anything goes, but if anyone else is going to use it, you'd best make it as idiot-proof as possible.

This reminds me of a famous programming quote attributed to (I believe) Rich Cook:

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning."


Luck!
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your customer id has to be an 8-digit number. If you allow characters for example and another application will use the database file to send invoices to the customers (for example), a whole lot of invoices won't be sent to the appropriate customers, the company will lose a lot of money and a developer will be fired

My application contains a whole lot of validations, even the parameters in the Data class are validated (size of the array, length of an element in the array,...)
 
David Byron
Rancher
Posts: 175
Clojure Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roel De Nijs wrote:My application contains a whole lot of validations, even the parameters in the Data class are validated (size of the array, length of an element in the array,...)


Mine, too. Validations everywhere, and custom docs to prevent bad entries in the first place!
 
Ruben Guillen
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All

Thank you very much for the valuable information. I will allocate time to add data entry validation and some parameter validation to my project.

Regards.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic