K
K
kolomiec_artiom2019-01-14 00:39:55
Python
kolomiec_artiom, 2019-01-14 00:39:55

What articles, books to read on multi-file projects?

Goodnight!
Six months ago, I wrote a fairly large project (by my own standards) in the Python language. But now I am faced with the fact that it needs to be supplemented and some part of the code must be rewritten. And it turned out that in my code architecture it is terribly inconvenient to do this.
Therefore, I would like to ask you to throw off articles, recommend books that detail how to make a project so that its addition requires a minimum of effort
. Thank you for your help!)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
Wentixon, 2019-01-14
@Wentixon

I would advise reading about design patterns. More precisely, do not read, but really figure out where and how to apply them. Personally, this really upset me, and not only in OOP, but in general, since with their knowledge comes an understanding of what architecture is all about. You are already starting to think about the areas of responsibility, the data that should belong to these areas, and also how to properly connect this matter with each other so that you don’t get a lot of dependencies. Then there will be no talk about files / folders, you will think in other categories.
Of the books on this topic, I recommend this one "Head First. Design Patterns". It can be very difficult at first and nothing is clear, in which case you can put it aside for a few days and return to reading after practice.
But I’ll also add that until you pass some kind of barrier, then such books will not be particularly useful, you will read, you seem to understand everything, but in fact you code shit. You can read them all, but nothing will work right away, you have to write a lot of code, rewrite and write again. Only then will a good result

R
Roman Kitaev, 2019-01-14
@deliro

MVC
McConnell
Fluent Python

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question