这编程技术可以帮助您最避免或解决的bug他们来投入生产之前 [英] Which programming technique helps you most to avoid or resolve bugs before they come into production

查看:71
本文介绍了这编程技术可以帮助您最避免或解决的bug他们来投入生产之前的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的意思不是外部工具。我认为,架构模式,语言结构,生活习惯的。我用C最感兴趣++

I don't mean external tools. I think of architectural patterns, language constructs, habits. I am mostly interested in C++

推荐答案

我发现下面的相当得心应手。

I find the following rather handy.

1)断言。结果
2)调试记录器,可以输出到调试喷涌,控制台或文件。结果
3)内存跟踪工具。结果
4)单元测试。结果
5)智能指针。搜索

1) ASSERTs.
2) A debug logger that can output to the debug spew, console or file.
3) Memory tracking tools.
4) Unit testing.
5) Smart pointers.

我敢肯定还有其他的吨数,但我不能想到他们把我的头顶部:)

Im sure there are tonnes of others but I can't think of them off the top of my head :)

这篇关于这编程技术可以帮助您最避免或解决的bug他们来投入生产之前的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆