上一页 1 ··· 73 74 75 76 77 78 79 80 81 ··· 103 下一页
摘要: Normally, in a typed language, the dispatch mechanism will be performed based on the type of the arguments (most commonly based on the type of the rec 阅读全文
posted @ 2018-01-18 12:40 zzfx 阅读(310) 评论(0) 推荐(0)
摘要: Late binding, or dynamic binding,[1] is a computer programming mechanism in which the method being called upon an object or the function being called 阅读全文
posted @ 2018-01-18 12:38 zzfx 阅读(163) 评论(0) 推荐(0)
摘要: C++中的虚函数(Virtual Function)是用来实现动态多态性的,指的是当基类指针指向其派生类实例时,可以用基类指针调用派生类中的成员函数。如果基类指针指向不同的派生类,则它调用同一个函数就可以实现不同的逻辑,这种机制可以让基类指针有“多种形态”,它的实现依赖于虚函数表。虚函数表(Virt 阅读全文
posted @ 2018-01-17 22:03 zzfx 阅读(399) 评论(0) 推荐(0)
摘要: 绑定:建立联系; 分发:作出选择。 https://en.wikipedia.org/wiki/Dynamic_dispatch https://en.wikipedia.org/wiki/Late_binding Dynamic dispatch is different from late bi 阅读全文
posted @ 2018-01-17 21:43 zzfx 阅读(196) 评论(0) 推荐(0)
摘要: 对象指针本身也是接口中的一个参量。 然而,在更广阔的计算机领域中,多态这个词并不只是局限在类继承和虚函数上。只要是同名函数能够根据参数的类型不同而获得不同的实现,我们都可以叫它“多态”。 多态可以分成三类,Ad hoc 多态(Ad hoc ~),参数化多态(Parametric ~),子类型多态(S 阅读全文
posted @ 2018-01-17 16:53 zzfx 阅读(197) 评论(0) 推荐(1)
摘要: 所谓的多态是将类似的不同实现统一到一个(组)接口的能力; 涉及到两个方面:1)抽象能力;2)面向接口(忽略载体、对象)。 Polymorphism is the ability of the programmer to write methods of the same name that do d 阅读全文
posted @ 2018-01-17 16:50 zzfx 阅读(188) 评论(0) 推荐(0)
摘要: Smalltalk is an object-oriented, dynamically typed, reflective programming language. Smalltalk was one of many object-oriented programming languages b 阅读全文
posted @ 2018-01-17 15:13 zzfx 阅读(405) 评论(0) 推荐(0)
摘要: Simula is the name of two simulation programming languages, Simula I and Simula 67, developed in the 1960s at the Norwegian Computing Center in Oslo, 阅读全文
posted @ 2018-01-17 14:49 zzfx 阅读(185) 评论(0) 推荐(0)
摘要: 决断、定论与执行力 当断不断的意思就是优柔寡断,该做决定的时候不做决定。 排除万难来执行; 悬而不决; 夜长梦多; 阅读全文
posted @ 2018-01-17 11:10 zzfx 阅读(1674) 评论(0) 推荐(0)
摘要: •<!--StartFragment-->需求、需求评审与产品定位<!--EndFragment--> 需求与产品定位:略; 需求评审中的问题:双向交互与自圆其说 •需求的增与减; •需求变更; •干扰与目标定力; •目标、计划、时间与选择; •移动端工作量评估的考虑因素; •时间倒排、项目规模、领 阅读全文
posted @ 2018-01-17 10:57 zzfx 阅读(444) 评论(0) 推荐(0)
摘要: 对于新人来说,JavaScript的原型是一个很让人头疼的事情,一来prototype容易与__proto__混淆,二来它们之间的各种指向实在有些复杂,其实市面上已经有非常多的文章在尝试说清楚,有一张所谓很经典的图,上面画了各种线条,一会连接这个一会连接那个,说实话我自己看得就非常头晕,更谈不上完全 阅读全文
posted @ 2018-01-16 21:52 zzfx 阅读(336) 评论(0) 推荐(0)
摘要: http://www.iconfont.cn/home/index?spm=a313x.7781069.1998910419.2 阅读全文
posted @ 2018-01-16 20:22 zzfx 阅读(238) 评论(0) 推荐(0)
摘要: 你可能听说过函数式编程(Functional programming),甚至已经使用了一段时间。 但是,你能说清楚,它到底是什么吗? 网上搜索一下,你会轻松找到好多答案。 与面向对象编程(Object-oriented programming)和过程式编程(Procedural programmin 阅读全文
posted @ 2018-01-16 10:50 zzfx 阅读(887) 评论(0) 推荐(1)
摘要: In computer science, imperative programming is a programming paradigm that uses statements that change a program's state. In much the same way that th 阅读全文
posted @ 2018-01-15 22:01 zzfx 阅读(227) 评论(0) 推荐(0)
摘要: Aspect Oriented Programming(面向方面编程,简称AOP)是一种Declarative Programming(声明式编程)。Declarative Programming(声明式编程)是和Imperative Programming(命令式编程)相对的概念。我们平时使用的编 阅读全文
posted @ 2018-01-15 21:59 zzfx 阅读(296) 评论(0) 推荐(1)
摘要: Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which may contain data, in the form of fields, often kn 阅读全文
posted @ 2018-01-15 21:26 zzfx 阅读(212) 评论(0) 推荐(0)
摘要: Prototype-based programming is a style of object-oriented programming in which behaviour reuse (known as inheritance) is performed via a process of re 阅读全文
posted @ 2018-01-15 21:11 zzfx 阅读(206) 评论(0) 推荐(0)
摘要: 范式:编程模式,将数据和算法封装到一起; 思想:系统论和世界观:系统是一系列相互关联的对象组成的。 阅读全文
posted @ 2018-01-15 20:08 zzfx 阅读(157) 评论(0) 推荐(0)
摘要: 拉姆达值(Lambda),希腊字母表示为Λ,指与真空的空间有关的能量或暗能量。 代表转换的常量、或者转换本身。 Lambda 表达式 Lambda 表达式”是一个匿名函数,可以包含表达式和语句,并且可用于创建委托或表达式目录树类型。 所有 Lambda 表达式都使用 Lambda 运算符 =>;,该 阅读全文
posted @ 2018-01-15 18:08 zzfx 阅读(469) 评论(0) 推荐(0)
摘要: In computer science, a function or expression is said to have a side effect if it modifies some state outside its scope or has an observable interacti 阅读全文
posted @ 2018-01-15 17:41 zzfx 阅读(362) 评论(0) 推荐(0)
上一页 1 ··· 73 74 75 76 77 78 79 80 81 ··· 103 下一页