I am currently working on two social networking sites that have a lot in common but are still different from each other. I find that I write a lot of the same code for both (including the user interface), and wondered if there is any best practice that will limit duplicate code.
One of the main problems is that these projects are very independent from each other and are likely to have more differences than similarities in the near future. In addition, once the initial work is completed, they can be transferred to other programmers, so using shared code libraries can be a big problem.
Any suggestions from people who could deal with a similar situation?
PS: I am the only developer in both of these projects, and it looks like he will stay that way for a while.
- . , , , , . , , - , . . , ( , ).
, , - , . . , , , , , , . YAGNI ( ) , .
( ) , , , . -, - . , , , , - - . , , . , , ( ) .
, , . , , , . .
, . , 2 ( ), , , .
Source: https://habr.com/ru/post/1705910/More articles:sending javascript date to date variable vb.net - javascriptProgrammatically change iPhone background - iphonehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1705907/design-classic-asp-applications-to-detect-session-expiration-dynamically&usg=ALkJrhj4kgJLIwzcNUkdjyXTDf6xVp06ag.net multithreading application - multithreadingHow to change the form on the sharepoint site? - sharepointPaypal NVP API with Django - pythonIncluding files of various types in PHP - includeWhat do I need to develop SharePoint applications? - sharepoint.net: how to debug XmlSerializer.Deserialize errors? - .netWhat setup do you use for SharePoint development (WSS / MOSS)? - sharepointAll Articles