0
votes
2answers
623 views

What is the best practice for method parameter validation in a library? [closed]

I develop a game library in javascript, containing many classes. I hesitate on the behavior that I should follow concerning method parameter validation: Should I check the validity of parameters ...
5
votes
2answers
772 views

How is the Trial Period for Softwares generally implemented?

I was always under the assumption that trial softwares write a registry value of the installation date and then the software makes a comparison of the current date of the system with the remaining ...
2
votes
3answers
592 views

Validating best practices, property vs dto, simple type vs object

Consider a user profile page. User can add many emails to his/her profile (something like GitHub's profile page). So, theoretically, user hits the plus button, then enters an email address, and ...
2
votes
2answers
86 views

Standard way of allowing general XML data

I'm writing a data gathering and reporting application that takes XML files as input, which will then be read, processed, and stored in a strongly-typed database. For example, an XML file for a "Job" ...