原文:https://bethallchurch.github.io/JavaScript-and-Functional-Programming/ 译文:http://www.zcfy.cc/article/1013 译者注:推荐一篇译文,《函数式编程术语解析》。 本文是我在 2016 年 7 月 ...
分类:
编程语言 时间:
2016-12-17 01:35:55
阅读次数:
224
函数式编程作为结构化编程的一种,正在受到越来越多的重视。工程中不在只是面向对象编程,更多的人尝试着开始使用函数式编程来解决软件工程中遇到的问题。 什么是函数式编程?在维基百科中给出了详细的定义,函数式编程(英语:functional programming)或称函数程序设计,又称泛函编程,是一种编程 ...
分类:
其他好文 时间:
2016-12-12 01:43:34
阅读次数:
212
你NFR了吗? NFR,即非功能性需求 (Non -Functional Requirements) ,即系统能够完成所期望的工作的性能与质量。具体包括如下内容: – 效率: 软件实现其功能所需要的计算机资源大小,“时间 -空间”;– 可用性: 用户使软件的容易程度,和学习;– 可维护性: 软件适应 ...
分类:
其他好文 时间:
2016-12-06 02:32:22
阅读次数:
147
#include<iostream>#include<functional>usingnamespacestd;usingnamespacestd::placeholders;//去掉转移字符的方法voidmain(){//比如我门要打开qq//第一种stringstr="C:\ProgramFiles\QQ\Bin\QQ.exe";system(str.c_str());//有转移字符的存在是不是很蛋疼呢//接下..
分类:
编程语言 时间:
2016-12-02 03:44:18
阅读次数:
158
之前已经有一篇文章是讲了函数式编程 http://www.cnblogs.com/charlesblc/p/6110484.html 今天又翻到了ruanyifeng的文章 http://www.ruanyifeng.com/blog/2012/04/functional_programming.h ...
分类:
其他好文 时间:
2016-12-01 21:47:54
阅读次数:
292
Scala's object-oriented collections support mutable and immutable type hierarchies. Also support functional higher-order operations such as map, filte ...
分类:
其他好文 时间:
2016-11-29 06:37:20
阅读次数:
211
参考这篇文章: http://www.ibm.com/developerworks/cn/java/j-lo-funinscala1/ 这也是一个系列 严格意义上的编程范式分为:命令式编程(Imperative Programming)、函数式编程(Functional Programming)和逻 ...
分类:
其他好文 时间:
2016-11-28 20:03:16
阅读次数:
200
The basic functional cornerstones of Scala: immutable data types, passing of functions as parameters and pattern matching. 1. Basic Pattern Matching I ...
分类:
其他好文 时间:
2016-11-27 19:09:21
阅读次数:
233
1. Functional programming treats computation as the evaluation of mathematical and avoids state and mutable data. Scala encourages an expression-orien ...
分类:
其他好文 时间:
2016-11-27 16:58:23
阅读次数:
162
1、STL算法--find_if()(1)、代码如下:#include<iostream>
#include<vector>
#include<algorithm>
#include<functional>
usingnamespacestd;
template<typenameType>
classIsDiv{
public:
IsDiv(constType&divisor){
this->divisor=divi..
分类:
其他好文 时间:
2016-11-25 07:39:50
阅读次数:
226