好久没有冒泡了,最近在新环境上搭建应用时,启动报错: INFO: Illegal access: this web application instance has been stopped already. Could not load java.net.BindException. The ev ...
分类:
数据库 时间:
2017-06-28 16:15:21
阅读次数:
639
函数式编程 函数式编程的三大特性: immutable data 不可变数据 first class functions 尾递归优化 函数式编程的准则:不依赖于外部的数据,而且也不改变外部数据的值,而是返回一个新的值给你。 如何变得functional: 1. 没有共享变量 2.通过参数和返回值传递 ...
分类:
其他好文 时间:
2017-06-27 23:38:28
阅读次数:
202
?? 1、引用内部函数绑定机制 #include<iostream> #include<functional> usingnamespacestd; usingnamespacestd::placeholders; //仿函数。创建一个函数指针,引用一个结构体内部或者一个类内部的共同拥有函数 str ...
分类:
编程语言 时间:
2017-06-26 22:43:21
阅读次数:
222
译者按: 也许你讨厌测试,但是你不得不面对它,所以至少区分一下单元测试、集成测试与功能测试?对吧… 原文: What are Unit Testing, Integration Testing and Functional Testing? 译者: Fundebug 为了保证可读性,本文采用意译而非 ...
分类:
编程语言 时间:
2017-06-26 10:19:16
阅读次数:
147
// ConsoleApplication3.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <iostream> #include <functional> using namespace std; //1 "方向盘" 类接收外部的操作, ...
分类:
其他好文 时间:
2017-06-25 19:32:38
阅读次数:
214
译者按: 近年来,函数式语言的特性都被其它语言学过去了。 原文: Functional Computational Thinking?—?What is a monad? 译者: Fundebug 为了保证可读性,本文采用意译而非直译。另外,本文版权归原作者所有,翻译仅用于学习。 如果你使用函数式编 ...
分类:
其他好文 时间:
2017-06-21 15:04:16
阅读次数:
153
Recently I transit to use scala to program. scala is a functional and objected oriented language, but it has seamless java Interoperability (they both ...
分类:
其他好文 时间:
2017-06-11 10:12:23
阅读次数:
150
#include using namespace std; #include"vector" #include"algorithm" #include"list" #include"functional" // void PrintV(vector &temp) { for (vector::ite... ...
分类:
其他好文 时间:
2017-06-07 23:21:43
阅读次数:
362
34 33 what are cohension levels from bad to good? coincidental logical temporal procedural communicational sequential functional 32 what are coupling ...
分类:
其他好文 时间:
2017-06-07 20:50:55
阅读次数:
234
题目:http://community.topcoder.com/stat?c=problem_statement&pm=10409&rd=15854 利用高斯消元求线性空间的基,也就是求矩阵的秩。 代码: #include <algorithm> #include <functional> #in ...
分类:
其他好文 时间:
2017-05-28 11:53:17
阅读次数:
155