(09-06-2016, 01:28 AM)NiLSPACE Wrote: @DrMasik How does it prevent accidental errors?
1. When you are member of team and modify same file - it is hard to merge. In case Git cannot do it automatically.
2. When you are making some enhancement - it is simplest to add functions in separate file. Hello from C++ OOP.
3. When you are looking for bug - it is more efficient to have splitted files to function.
0. When I start programming (1997) no rules and howtos


Try yourself and you find it is interesting for you.
I recommend to read books of Bjarne Stroustrup