S
S
Sazoks2019-09-10 16:05:32
Books
Sazoks, 2019-09-10 16:05:32

Books, tips, courses on application architecture?

Hello. I am a beginner, now I am finishing a project, a multi-threaded chat in C ++.
The code has grown to 2k lines and I'm just going crazy! Everything seems to work, everything is more or less optimized, but it still seems to me that my code is terrible. JUST TERRIBLE.
Yes, even just the code does not please the eye, it seems clumsy.
I realized that I have too many dependencies, and most likely they are not implemented correctly. In essence, there is data, and there are methods for processing this data. So my methods, apparently, are generally wrong ... I thought that the matter was in the architecture, in the organization of data and access to them, in the relationship between objects.
Hence this question. I need any material to be able to think through the architecture of the program at least at a basic level. Sorry for this scribbling, I just want to be understood exactly!
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2019-09-10
@Sazoks

Start with Robert Martin's textbook three volumes "Clean Code", "Clean Architecture" and "The Ideal Programmer".

L
lukoie, 2019-09-10
@lukoie

Give your code to another programmer to read. If he does not understand what is there, and says that "it could have been better", then yes, then a coprofessional code. But if he does not have any particular difficulties, then do not worry, you can live.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question