software-quality

How do you ensure that you as programmer have written quality C code?

元气小坏坏 提交于 2019-11-29 04:18:39
I m looking to write some quality C code. Can someone point me to some articles , websites..whatever I need something with examples. I have already seen and read K&R C book. 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?? Wouter van Nifterick 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

What code metric(s) convince you that provided code is “crappy”? [closed]

≯℡__Kan透↙ 提交于 2019-11-28 16:07:05
Code lines per file, methods per class, cyclomatic complexity and so on. Developers resist and workaround most if not all of them! There is a good Joel article on it (no time to find it now). What code metric(s) you recommend for use to automatically identify "crappy code"? What can convince most (you can't convince all of us to some crappy metric! :O) ) of developers that this code is "crap". Only metrics that can be automatically measured counts! VonC No metrics regarding coding-style are part of such a warning. For me it is about static analysis of the code , which can truly be 'on' all the

How do you ensure that you as programmer have written quality C code?

爷,独闯天下 提交于 2019-11-27 18:16:32
问题 I m looking to write some quality C code. Can someone point me to some articles , websites..whatever I need something with examples. I have already seen and read K&R C book. 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?? 回答1: Someone mentioned some compiler switches, but having syntactically smooth code is not going to ensure a quality end-product, because there's

What code metric(s) convince you that provided code is “crappy”? [closed]

落爺英雄遲暮 提交于 2019-11-27 09:32:45
问题 Code lines per file, methods per class, cyclomatic complexity and so on. Developers resist and workaround most if not all of them! There is a good Joel article on it (no time to find it now). What code metric(s) you recommend for use to automatically identify "crappy code"? What can convince most (you can't convince all of us to some crappy metric! :O) ) of developers that this code is "crap". Only metrics that can be automatically measured counts! 回答1: No metrics regarding coding-style are