39
sSam
7y

I'm freelancing and there was a guy who needed help with JavaFX. He gave me code only to his view class so I don't steal the rest... It was around 5k lines and it was full of compilation errors because of missing classes. While checking the code I realised something is really wrong with his model classes. So I asked maybe he could send me this one model class that was suspicious. So he did and it was around 10k lines long and had around 200 fields... ALL OF THEM FUCKING STRINGS except 3. You know what the rest of 3 were? 2 Lists of strings and a boolean... It was his "main" model class, he was using it for everything. It had setters for all fields and empty default constructor, so he would just instantiate the object and would set the fields that he wanted to use. Need new functionality? Just add 5more String fields and set them!

Comments
  • 0
    He should look for help. Mental help.
  • 1
    @qbasic16 I actually feel a bit sorry for the guy. His final product was not bad at all. He's Indian and AFAIK their programming education is not the best so he may have been taught to do this and no one has told him its wrong.
Add Comment