结对编程是一个很有意思的形式,我很对这个感兴趣,因为大学的时候就是参加了ACM/ICPC,三个人,一台电脑,去共同解决几个问题。典型的结对编程。
结对编程(英语:Pair programming)是一种敏捷软件开发的方法,两个程序员在一个计算机上共同工作。一个人输入代码,而另一个人审查他输入的...
分类:
其他好文 时间:
2014-05-26 23:48:51
阅读次数:
363
#include #include /* for sleep() */#include /*
for uintptr_t */#include /* for in*() and out*() functions */#include /* for
ThreadCtl() */#include...
分类:
其他好文 时间:
2014-05-26 22:04:49
阅读次数:
285
Ruby很强大,可是相关资料少而不详细。本文是个人学习总结,测试环境是windows xp sp3 +
NetBeans6.7.1(JRuby 1.2.0),主要结论来自于互联网、"Programming
Ruby"2e、对于源代码的分析和实测代码。双引号字符串和单引号字符串都能表示字符串对象,区别...
分类:
其他好文 时间:
2014-05-26 22:00:09
阅读次数:
466
什么是JTA -2009-07-25
18:31:06|分类:技术文章|举报|字号订阅什么是JTA?Java Transaction API(Java事务API) (JTA)Java
Transaction API(Application Programming Interface)什么是JTA T...
分类:
其他好文 时间:
2014-05-23 07:11:37
阅读次数:
435
Cancellation tokenParallel
optionsCancellationTokenSource cancellationTokenSource = new
CancellationTokenSource();Task.Factory.StartNew(() =>{ Thre...
分类:
Web程序 时间:
2014-05-22 16:43:14
阅读次数:
332
for (int i = 0; i SteppedIntegerList(int
startIndex, int endEndex, int stepSize){ for (int i = startIndex; i {
Console.WriteLine...
分类:
Web程序 时间:
2014-05-22 16:08:30
阅读次数:
281
1. 进程调度the process scheduler is the component of a
kernel that selects which process to run next.进程调度器需要使 处理器使用率最大化,并且提供
使多个进程并发执行的虚拟Deciding which pr...
分类:
系统相关 时间:
2014-05-22 16:07:11
阅读次数:
505
List integers = new List() { 0, 1, 2, 3, 4, 5,
6, 7, 8, 9 };Parallel.ForEach(integers, (int item, ParallelLoopState state)
=>{ if (item > 5) { ...
分类:
Web程序 时间:
2014-05-22 16:03:56
阅读次数:
287
An IEnumerable objectAn Action of T which is
used to process each item in the listList dataList = new List { "this", "is",
"random", "sentence...
分类:
Web程序 时间:
2014-05-22 16:01:17
阅读次数:
290
The start index: this is inclusive, i.e. this
will be the first index value in the loopThe end index: this is exclusive, so it
won’t be processed in t...
分类:
Web程序 时间:
2014-05-22 15:59:26
阅读次数:
264