Seperating functions?
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
  • By code type: With this method you put variables in one file, defines in another, hooks in another, dialogs in another, etc... This is completely useless split as it means the code to do one thing is still split between multiple files. You also loose any benefits of separation you could get by using static functions and variables.

  • By feature: With this method you have your streamer in one file (hooks, variables, API etc), your vehicles in another, your police job in another, your admin system in another, etc... This is called "separation of concerns" and is programming basics!
Reply


Messages In This Thread
Seperating functions? - by seanny - 24.01.2014, 16:07
Re: Seperating functions? - by Misiur - 24.01.2014, 16:23
Re: Seperating functions? - by Patrick - 24.01.2014, 16:30
Re: Seperating functions? - by MP2 - 24.01.2014, 16:40
Re: Seperating functions? - by iZN - 24.01.2014, 16:43
Re: Seperating functions? - by seanny - 24.01.2014, 17:06

Forum Jump:


Users browsing this thread: 1 Guest(s)