本文介绍了如何在C#MVC上使代码更健壮,更可靠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想确保我的项目代码健壮,可靠且没有错误。



我尝试过:



我将项目划分为三部分数据访问层,业务逻辑层和网站部分。

I want to make sure my project code is robust,reliable, and bug free.

What I have tried:

I have divided project in three part Data Access Layer, Business Logic Layer, and website part.

推荐答案


Quote:

我想确保我的项目代码健壮,可靠,并且没有bug。

I want to make sure my project code is robust,reliable, and bug free.



考虑到最简单的项目之外的任何项目都没有bug。

但是一些技术可以帮助你减少错误率。

- 学习一种或多种分析方法,EW Djikstra / N. Wirth Stepwize Refinement / top-Down方法是一个良好的开端。

[]

[]

[]

[]

[]

- 单元测试也是一个好主意。

[]


Consider that no project beyond the most simple is bug free.
But some thechniques can help you to reduce bugs rate.
- Learn one or more analyze methods, E.W. Djikstra/N. Wirth Stepwize Refinement/top-Down method is a good start.
Structured Programming.pdf[^]
https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[^]
https://en.wikipedia.org/wiki/Structured_programming[^]
https://en.wikipedia.org/wiki/Edsger_W._Dijkstra[^]
https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF[^]
- Unit testing is also a good idea.
Unit testing - Wikipedia[^]


这篇关于如何在C#MVC上使代码更健壮,更可靠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 13:45