大项目管理 [英] management of big project
问题描述
大家好,
我正在处理具有250个.cpp和.h文件的大型项目.项目大小与项目文件数成正比.所以项目增加了我的项目文件数也增加了....
因此,问题在于项目的维护但艰巨,维护如此大的项目并不是一件小事.
_____________________________________________
所以,
我们计划将代码重组为小型模块.
通过使用,
1)DLL
2)LIB
所以我是走正确的道路还是其他存在的事情.
谢谢问候
santosh
________________________________________________________
Hi All,
I''m working on big project having 250 .cpp and .h files.Project size is directly propotional to number of project files.so project increase my number of project file increase....
So problem is maintainance of project but obeouse ,maintaining such big project is not small thing.
_____________________________________________
So,
We planed to restructure our code into small - small modules.
By using,
1)DLL
2)LIB
So is i''m goes throught right path or any thing else present to do so.
thanks regard
santosh
________________________________________________________
推荐答案
听起来不错.
按功能组织您的库,并为其赋予有意义的名称.
That sounds good.
Organize your libraries by function and give them meaningful names.
将有意义的内容扩展到有意义的库中,不仅仅是因为您可以.在可能的情况下,请遵循亲吻(保持简单的愚蠢)设计方法,从长远来看,它将避免您头疼.
Break out things into libraries where it makes sense, not just because you can. Follow the kiss (keep it simple stupid) design methodology where possible and it will save you headaches in the long run.
项目可以利用以下帮助对功能进行分组:
课.
命名空间
图书馆
文件夹
您必须给出漂亮且有意义的名称.将相似的代码分组到同一位置.保持代码模块化.给出适当的评论.避免保留无效代码.
Google C ++样式指南 [
Projects can take help of the following to group functionality:
Classe.
Namespace
Libraries
Folders
You have to give nice and meaningful names. Group similar code in same places. Keep code modular. Give proper comments. Avoid keeping dead code.
Google C++ Style Guide[^]
This is the guide line provided by google to work with C++ code. Follow it and improvise.
这篇关于大项目管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!