数学建模社区-数学中国

标题: Matlab编程风格指南 [打印本页]

作者: sundianming    时间: 2010-4-5 00:00
标题: Matlab编程风格指南
本帖最后由 厚积薄发 于 2010-4-5 12:00 编辑
! _% R  ^8 C! {9 l  h
$ @3 [' e8 y3 o# c: t. w有关 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.”(良好的写作规范的程序比糟糕的写作规范的要好,因为他们具有较少的错误、易于调试与修改,因此,从一开始就考虑风格是很重要的)。

MATLAB_编程风格指南.pdf

241.72 KB, 下载次数: 44, 下载积分: 体力 -2 点


作者: sundianming    时间: 2010-4-5 00:00
这么好的东西得抓紧时间下了,都是本人精心收集啊!
作者: sundianming    时间: 2010-4-5 00:01
好位置先占着,~O(∩_∩)O哈哈~~
作者: acheng    时间: 2010-4-29 14:47
回复 1# sundianming
9 i/ U) q' z2 F
2 c. u) ]6 z/ R: v/ v- h$ l0 f的确是好东西偶!谢谢楼主啊!
作者: acheng    时间: 2010-4-29 14:48
好动恩东啊!世界法律开始的发生的临时道路收到了上的
作者: yansichong    时间: 2010-8-26 18:35
好东西~~收藏了~~~3Q啦~~~0 b; E, I: ]8 w* r6 ?





欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5