This post introduces how to use the ===, eval,
Function() carefully.
分类:
编程语言 时间:
2014-05-26 12:46:27
阅读次数:
292
This post introduces how to deal with Number
Conversions with parseInt().
分类:
编程语言 时间:
2014-05-26 09:01:52
阅读次数:
204
It’s important to establish and follow coding
conventions—they make your code consistent, predictable, and much easier to read
and understand. A new d...
分类:
编程语言 时间:
2014-05-25 18:49:35
阅读次数:
316
Patterns是一个分享ios应用UI界面的网站,专注于分享iOS应用UI界面的细节,按照设计元素进行分类,按照iOS常用功能对各类UI进行分类展示。
链接:http://www.patternsofdesign.co.uk/...
分类:
移动开发 时间:
2014-05-25 10:05:40
阅读次数:
219
This post introduces the principle of the use
of switch-pattern.
分类:
编程语言 时间:
2014-05-22 16:15:39
阅读次数:
280
模式是在某情境下,针对某问题的某种解决方案。设计模式是解决某些经常重复发生的设计问题的一些通用解决方案。
一、模式简介
1、策略模式:定义了算法族,分别封装起来,让它们之间可以相互替换,此模式让算法的变化独立于使用算法的客户。
2、观察者模式:定义了对象之间的一对多依赖,当一个对象改变时,它的所有依赖者都会收到通知并自动更新。
3、装饰者模式:动态地将责任附加到对象上。若要扩展功能,装饰者...
分类:
其他好文 时间:
2014-05-22 10:29:51
阅读次数:
260
Other developers using your code will probably
expect the built-in JavaScript methods to work consistently and will not expect
your additions. And pro...
分类:
编程语言 时间:
2014-05-22 02:21:49
阅读次数:
298
This blog post introduces the problem with
Globals, Side Effect when Forgetting var, Access the Global Object, Single var
Pattern and Hoisting: A prob...
分类:
编程语言 时间:
2014-05-20 01:30:31
阅读次数:
404
Do you know how to write the for-loop
efficiently? Read this to get it. :)
分类:
编程语言 时间:
2014-05-18 19:24:37
阅读次数:
382
隐马尔可夫模型HMM与维特比Veterbi算法(一)主要内容:1、一个简单的例子2、生成模式(Generating Patterns)3、隐藏模式(Hidden
Patterns)4、隐马尔可夫模型(Hidden Markov Model)一、一个简单的例子 考虑一个简单的例子,有人试图通过一片海藻...
分类:
其他好文 时间:
2014-05-17 20:05:13
阅读次数:
1076