Thursday, November 9, 2017

First step (part 4)

Today, I started refactoring. Now I understand why everyone is strongly advised to write the code correctly from the beginning. Hurry does not lead to anything good!
It's good that I wrote so little code. I hope I can manage for a couple of days.

Now I want to put the work with the database in a separate class. And gradually I will extend this class by the necessary methods.

No comments:

Post a Comment

First step (part 6)

It was done! In the end, I understood why getters and setters are needed. And also, that the auxiliary class logic should be passed to the ...