sundianming 发表于 2010-4-5 00:00

Matlab编程风格指南

本帖最后由 厚积薄发 于 2010-4-5 12:00 编辑

有关 MATLAB代码的建议通常强调的是效率,譬如说有关“不要用循环”等的建议,这本指南与之不同。这本指南主要考虑的是代码(格式)的正确性、清晰性与通用性。文章的目的在于帮助写出更可能正确、易于理解、更具有共享性与更利于维护的代码。正如Brian Kernighan 写道:“Well-written programs are better than badly-written ones--they have fewer errors and are easier to debug and to modify――so it is important to think about style from the beginning.”(良好的写作规范的程序比糟糕的写作规范的要好,因为他们具有较少的错误、易于调试与修改,因此,从一开始就考虑风格是很重要的)。

sundianming 发表于 2010-4-5 00:00

这么好的东西得抓紧时间下了,都是本人精心收集啊!

sundianming 发表于 2010-4-5 00:01

好位置先占着,~O(∩_∩)O哈哈~~

acheng 发表于 2010-4-29 14:47

回复 1# sundianming

的确是好东西偶!谢谢楼主啊!

acheng 发表于 2010-4-29 14:48

好动恩东啊!世界法律开始的发生的临时道路收到了上的

yansichong 发表于 2010-8-26 18:35

好东西~~收藏了~~~3Q啦~~~
页: [1]
查看完整版本: Matlab编程风格指南