摘要: 一个很简单的函数,用来判断密码是不是简单文本,如:111111、654321、13579、abcde、aaaaa……有序字符阵列。
<?phpfunction issimpletext($text){ if (strlen($text)<4) return true; $issample = true; $step = ord(substr($text, 1, 1)) - ord(substr($text, 0, ......
摘要:ted graham 提到了39 条 checklist, 我觉得还是总结的挺全面.
are exceptions used to indicate error rather than returning status or error codes?
使用异常来只是错误而不是使用状态或者错误代码值
are all classes and public methods commented with .net style comments?? n......
使用UML对系统进行建模 【扩展阅读:
My Adapter in C#】http://www.whdahua.com/websharporg/articles/umlmodel.htm
摘要:平时不怎么留意数据库相关的东西,看到这篇文章,感觉不错:《speed up sql server apps》learn 10 useful tips and tricks that help boost sql server application performance—and streamline development and deployment as well下面列举文章中的10条技巧:1) replace count(*) with......