Signin (login)
#8
(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 Smile Now - you have many best practices. I like to split one task to one file or more files if needed. Task - it is function. It is from C++ Wink

Try yourself and you find it is interesting for you.

I recommend to read books of Bjarne Stroustrup
Reply
Thanks given by:


Messages In This Thread
Signin (login) - by DrMasik - 09-05-2016, 08:27 PM
RE: Signin (login) - by LogicParrot - 09-05-2016, 11:24 PM
RE: Signin (login) - by DrMasik - 09-06-2016, 01:02 AM
RE: Signin (login) - by NiLSPACE - 09-05-2016, 11:36 PM
RE: Signin (login) - by DrMasik - 09-06-2016, 01:06 AM
RE: Signin (login) - by Boo - 09-06-2016, 01:11 AM
RE: Signin (login) - by NiLSPACE - 09-06-2016, 01:28 AM
RE: Signin (login) - by DrMasik - 09-06-2016, 02:23 AM
RE: Signin (login) - by DrMasik - 09-06-2016, 03:25 AM
RE: Signin (login) - by LogicParrot - 09-06-2016, 04:02 AM
RE: Signin (login) - by DrMasik - 09-06-2016, 04:05 AM
RE: Signin (login) - by PureTryOut - 09-06-2016, 05:13 AM
RE: Signin (login) - by DrMasik - 09-07-2016, 03:07 AM
RE: Signin (login) - by DrMasik - 09-06-2016, 04:06 AM
RE: Signin (login) - by Boo - 09-06-2016, 03:57 PM
RE: Signin (login) - by Fractvival - 03-06-2017, 05:49 PM
RE: Signin (login) - by DrMasik - 03-07-2017, 04:01 AM



Users browsing this thread: 6 Guest(s)