+ 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?

18th Feb 2018, 4:12 PM
fabrizio
2 ответов
+ 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.
18th Feb 2018, 4:19 PM
Jax
Jax - avatar
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.
18th Feb 2018, 4:27 PM
1of3
1of3 - avatar