- 博客(13)
- 资源 (39)
- 收藏
- 关注
原创 编程规则之--不要写面面俱到的函数
<br /> 在进入公司的编程规范考试的时候,有这么一个规范--不要试图去写一个多功能的,面面俱到的函数.<br /> 在最近的工作中,算是真正体会到这个规范的重要性了.因为做二次开发的时候,要接触到别人的代码,里面多处一个函数处理好几个逻辑上不是并列的分支,看半天又发现一些东西,跟研究怪物似的,令我看的死去活来,气得半死.真想骂那个人.<br /> 面面俱到的函数会令看代码的人摸不着头脑,降低程序的可读性.一般来说,连设计的那个人,过了一段时间,就算跟着他自己写的注释,都没法把东西弄明白
2010-12-31 19:23:00 647
原创 IBM敏捷培训小结
<br /> 今天参加了一个IBM敏捷教练的课程,(全程是两天,16小时),我只听了两个小时,小结一下.<br /> 1. 敏捷流程必需人员:strakeholder;product owner;team leader;team members;<br /> strakeholder是需要的发出点;PO负责把用户的需求排一个优先级,但不能决定多个团队中谁干什么事情;而每个迭代周期时间是一定的,team leader通过估算自己团队的能力,从PO手中选择自己团队本个迭代可做的任务.t
2010-12-30 22:32:00 1086
翻译 敏捷软件开发宣言
<br />敏捷软件开发宣言<br /> <br />通过亲自和协助他人进行软件开发的过程,我们致力到寻找更好的软件开发方法.<br />在这些过程中,我们得出以下的一些方法论:<br /> <br />个体与相互协作 胜过 流程和工具<br />可用的软件实体 胜过 详尽的说明文档<br />和客户的即时合作 胜过 相互的合同与约定<br />及时回应需要变化 胜过 精心的策划<br /> <br />也就是说:虽然右边的方法是有价值的,但是左边的方法是更有价值的.<br /> <br />Kent Be
2010-12-30 21:59:00 582
原创 Manifesto for Agile Software Development
<br />Manifesto for Agile Software Development<br /><br /><br /><br />We are uncovering better ways of developing<br />software by doing it and helping others do it.<br />Through this work we have come to value:<br />Individuals and interactionsover proces
2010-12-30 21:31:00 680
原创 1*1 引发的思考
<br /> 今天看到一段代码, 为了判断一个列表中某一项数据是否都是同一值数据(值只有两种可能,number和string).伪代码近似于:<br /> int numFlag=0;<br /> int strFlag=0;<br /> for item in itemList<br /> if ( item is number )<br /> numFlag=1;<br /> else<br /> {<br
2010-12-21 22:48:00 961 1
转载 11 Laws of The System Thinking in Software Development
<br />Source: http://softwarecreation.org/2007/11-laws-of-the-system-thinking-in-software-development/<br /><br /><br />“I will work harder” – the horse Boxer (from George Orwell’s Animal Farm)<br /><br />bichuas<br />The System Thinking Laws from Peter Se
2010-12-19 15:27:00 1042
转载 Python正则表达式操作指南(转)
Python正则表达式操作指南出自Ubuntu中文<br />原文出处:http://www.amk.ca/python/howto/regex/<br />原文作者:A.M. Kuchling (amk@amk.ca) <br />授权许可:创作共用协议<br />翻译人员:FireHare <br />校对人员:Leal<br />适用版本:Python 1.5 及后续版本 <br />摘要 <br /><br />本文是通过Python的 re 模块来使用正则表达式的一个入门教程,和库参考手册的对应章
2010-12-17 00:54:00 740
转载 How do I... Identify and delete duplicates from SQL Server tables?
Source:http://blogs.techrepublic.com.com/datacenter/?p=372&tag=rbxccnbtr1Date: June 3rd, 2008 Author: Susan Harkins Category: Microsoft, databases, sql serverTags:Microsoft SQL Server, Server, Column, Record, Table, Databases, Storage, Enterprise Software,
2010-12-15 23:16:00 659
转载 Removing Duplicate Records using SQL Server 2005
Date: July 29th, 2008 Author: Tim Chapman Category: SQL, databases, sql serverTags:Microsoft SQL Server, Record, Microsoft SQL Server 2005, Table, SalesHistory, SaleDate, SalePrice, SELECT, Productivity, DatabasesRemoving duplicate records from tables is s
2010-12-15 22:27:00 730
转载 10 tips for advancing from a beginner to an intermediate developer
<br />Date: May 21st, 2009 Author: Justin James Category: 10 things Tags: Justin James, Developer <br />From:http://blogs.techrepublic.com.com/10things/?p=732<br /> <br />Beginner developers who want to take their career to the next level may be stymied by
2010-12-14 23:59:00 860
原创 如何增加一列唯一性的ID--row_number() over()的用法
楼主发表于:2010-12-13 14:57:51已知:存储过程得到下面记录:<br />name value<br />A 100<br />B 23<br />C 95<br />D 45<br /><br /><br />求:在记录第一列增加ID列,并且要按value排序:<br />结果:<br />ID name value<br />1 A 100<br />2 C 95<br />3 D 45<br />4 B 23SQL code select id=row_number() ov
2010-12-14 22:08:00 1315
原创 exists的一种用法
<br />现在表的结构如下:<br />client_ID Trans<br />0001 人民币<br />0002 人民币<br />0003 人民币<br />0003 港币<br />0004 美金<br />0004 港币<br />0005 人民币<br />0005 美金<br />0006 人民币<br />0006 美金<br />0006 港币<br />0007 美金<br />0008 港币<br />请教大家如何用sql语句查询只有人民币的客户、只有美金的客户、只有港币的客户、有
2010-12-14 22:04:00 844
原创 如何用SQL语句把同一列的数据按某个group by语句组合成一行数据
<br /> 刚才从论坛上面看到一个帖子,我之前也碰到过这一类问题,所以记下来,算学习到新的东西。从回答者给出的不同的代码,也从另一个侧面看到了这个问题的多种思维解决方案。还是有不少东西可以学得到的。<br /> 学习到的内容:stuff函数的应用<br />问题: <br /> 有一个用户表(姓名,编号,爱好)<br /> user(name,id,hobby),<br />里面的数据有:<br /> 张三 001 篮球<br /> 张三 001 电影<br /> 李四 002 足
2010-12-13 23:00:00 5388
libevent在vs下编译工程
2015-01-10
DesktopDemo程序
2014-01-14
从文件夹中查找单词程序
2013-12-30
查找指定文件夹中所有文件中的单词
2013-12-30
[Windows.Internals.Part.1(6th,2012.3)文字版
2013-02-25
COM技术内幕第9章代码客户端智能指针(VS2008通过)
2013-01-05
COM技术内幕第5章第7章代码(VS2008通过)
2012-12-28
Windows核心编程随书源代码
2012-10-26
C++标准程序库(英文版)
2012-10-16
蓝盾题目解答
2012-03-08
zlib source code
2012-01-11
软件开发三级培训班
2011-10-25
C++ boost regex manual
2011-07-27
boost C++ manual
2011-07-27
STL.源码剖析(完全版).pdf下载中文完整版
2011-02-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人