问题描述
我要找写一些高质量C $ C $℃。
有人能指出我的一些文章,websites..whatever
我需要的东西的例子。
我已经看到和阅读K&安培; R C书
I m looking to write some quality C code.Can someone point me to some articles , websites..whateverI need something with examples.I have already seen and read K&R C book.
但是时代已经改变,一些人必须有更多的质量C $ C $Ç说。
而另一个重要的事情是你如何确保你作为程序员编写质量C code 14
But times have changed, some one must have more to say on quality C Code.and another important thing is How do you ensure that you as programmer have written quality C code??
推荐答案
有人提到了一些编译器开关,但有语法光滑code是不会确保高质量的终端产品,因为有更多的软件质量比。
Someone mentioned some compiler switches, but having syntactically smooth code is not going to ensure a quality end-product, because there's more to software quality than that.
有软件质量的多种分类,但这里的,你可以作为一个清单使用清单:
There are several classifications of software qualities, but here's a list that you can use as a checklist:
- 正确性(它根据规范工作?)
- 可靠性(可以取消用户依赖于它?)
- 健壮性(它在意外情况下工作吗?)
- 性能(它为用户做的工作不够快?)
- 可用性(它是用户友好的?)
- 可验证(可它的属性很容易verfified?)
- 可维护性(可修改轻松完成?)
- 修补能力(可缺陷是固定合理的时间内?)
- 可进化(可以将新的功能可以简单地添加?)
- Correctness (does it work according to spec?)
- Reliability (can de user depend on it?)
- Robustness (does it work in unexpected situations?)
- Performance (does it do the job fast enough for the user?)
- Usability (is it user-friendly?)
- Verifiability (can its properties be verfified easily?)
- Maintainability (can modifications be made easily?)
- Repairability (can defects be fixed within reasonable time?)
- Evolvability (can new functionality be added simply?)
这篇关于你如何确保你作为程序员编写质量C code吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!