|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
You shouldn't use/copy ![]() For example: Quote: - D:\xampp\xampp\htdocs\vb404\includes\class_picture comment.php:282-353 D:\xampp\xampp\htdocs\vb404\includes\class_visitor message.php:302-373 - D:\xampp\xampp\htdocs\vb404\includes\class_picture comment.php:356-377 D:\xampp\xampp\htdocs\vb404\includes\class_visitor message.php:377-398 - D:\xampp\xampp\htdocs\vb404\includes\class_picture comment.php:397-423 D:\xampp\xampp\htdocs\vb404\includes\class_visitor message.php:418-444 Why not provide a abstract class "comment/message" which provides this methods? This would provide a much cleaner, easier to manage code. I've run an c&p detection tool on vB404 code and found Quote: 0.71% duplicated lines out of 383599 total lines of code. OK It's not much, but you could save IMO very LOC (lines of code) ![]() |
![]() |
مواقع النشر (المفضلة) |
| |