+ 2
How do you structure your project?
How do you divide your project? How is it done? What's your program style? How do you solve your problems/bugs?
2 Answers
+ 1
I just ask sololearn and see if someone answers. I have had more help here than the hours I have had searching the internet trying to find a solution to a problem, then I come here and itās fixed in 10 minutes.
0
Depends a bit on the language and the type of project. For example, Java forces you to make one file per class. If that isn't the case, I try to keep all child classes to an abstract class/interface/trait in the same file.
In applications it is customary to separate modell, view and controller.
Different languages have different customs concerning the location of tests. Java puts them in an extra package, Rust advises to keep it with the tested code with annotation.