Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@BigTLarrity thanks for the heads up. I didn't renew my .com domain only my .co.uk, I've updated the link. (some bad person seems to have bought the original then)
Yes but no, it's a lot more complicated than that. You need to read a lot of programming books to understand all that is in the above :-) but like everyone is saying if you want the short answer: avoid statics, use objects and invest in understanding S.O.L.I.D
If you're going object orientated you should have a class that gets the input, then another class validates this input then a class that creates your Employee from the input (imo). Following the single responsibility principle
Yeah so if I start the project I choose the standard :-) I don't see why this was closed as not constructive :-/ clearly those people don't have enough OCD over their code