1233333333333333333333333

06 2015 档案

摘要:参考这个http://www.cnblogs.com/wangshenhe/archive/2012/05/09/2490438.htmlhttp://www.cnblogs.com/zcttxs/archive/2012/06/12/2546293.htmlhttp://www.cnblogs.c... 阅读全文
posted @ 2015-06-30 21:59 hghrpg 阅读(103) 评论(0) 推荐(0) 编辑
摘要:大话设计模式 观察者模式 阅读全文
posted @ 2015-06-28 00:23 hghrpg 阅读(121) 评论(0) 推荐(0) 编辑
摘要:柯里化是把接受多个参数的函数变换成接受一个单一参数的函数,并且返回一个新函数,这个新函数能够接受原函数的参数。下面可以通过例子来帮助理解。function adder(num) { return function(x) { return num + x; }}var add5 = adder(5);... 阅读全文
posted @ 2015-06-27 22:31 hghrpg 阅读(126) 评论(0) 推荐(0) 编辑
摘要:Item 24: Use a Variable to Save a Reference toargumentsAn iterator is an object providing sequential access to a collection ofdata. A typical API prov... 阅读全文
posted @ 2015-06-27 15:47 hghrpg 阅读(130) 评论(0) 推荐(0) 编辑
摘要:Item 23: Never Modify the arguments ObjectThe arguments object may look like an array, but sadly it does notalways behave like one. Programmers famil... 阅读全文
posted @ 2015-06-27 15:45 hghrpg 阅读(124) 评论(0) 推荐(0) 编辑
摘要:Item 22: Use arguments to Create Variadic FunctionsItem 21 describes a variadic average function, which can process anarbitrary number of arguments a... 阅读全文
posted @ 2015-06-27 15:00 hghrpg 阅读(139) 评论(0) 推荐(0) 编辑
摘要:Item 21: Use apply to Call Functions with DifferentNumbers of ArgumentsImagine that someone provides us with a function that calculates theaverage of ... 阅读全文
posted @ 2015-06-27 14:30 hghrpg 阅读(139) 评论(0) 推荐(0) 编辑
摘要:Junit源码设计模式欣赏JUnit是一个优秀的Java单元测试框架,由两位世界级软件大师Erich Gamma 和 Kent Beck共同开发完成。....向读者介绍在开发JUnit的过程中是怎样应用设计模式的。 阅读全文
posted @ 2015-06-26 23:09 hghrpg 阅读(210) 评论(0) 推荐(0) 编辑
摘要:Item 20: Use call to Call Methods with a CustomReceiverOrdinarily, the receiver of a function or method (i.e., the value boundto the special keyword ... 阅读全文
posted @ 2015-06-24 23:49 hghrpg 阅读(178) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/cuihongyu3503319/archive/2008/04/08/1142804.html参考 阅读全文
posted @ 2015-06-24 22:31 hghrpg 阅读(103) 评论(0) 推荐(0) 编辑
摘要:准备制作一个个人web站点 阅读全文
posted @ 2015-06-23 23:25 hghrpg 阅读(149) 评论(0) 推荐(0) 编辑
摘要:Higher-order functions used to be a shibboleth of the monks of func-tional programming, an esoteric term for what seemed like anadvanced programming t... 阅读全文
posted @ 2015-06-22 22:10 hghrpg 阅读(175) 评论(0) 推荐(0) 编辑
摘要:来源:http://www.nowamagic.net/librarys/veda/detail/1715 阅读全文
posted @ 2015-06-22 21:29 hghrpg 阅读(126) 评论(0) 推荐(0) 编辑
摘要:Item61showshowasynchronousAPIsperformpotentiallyexpensiveI/Ooperationswithoutblockingtheapplicationfromcontinuingdoingworkandprocessingotherinput.Unde... 阅读全文
posted @ 2015-06-22 20:30 hghrpg 阅读(204) 评论(0) 推荐(0) 编辑
摘要:Item61:Don’tBlocktheEventQueueonI/OJavaScriptprogramsarestructuredaroundevents:inputsthatmaycomeinsimultaneouslyfromavarietyofexternalsources,suchasin... 阅读全文
posted @ 2015-06-22 20:16 hghrpg 阅读(182) 评论(0) 推荐(0) 编辑
摘要:Item64:UseRecursionforAsynchronousLoopsConsiderafunctionthattakesanarrayofURLsandtriestodownloadoneatatimeuntilonesucceeds.IftheAPIweresynchronous,itw... 阅读全文
posted @ 2015-06-22 19:57 hghrpg 阅读(192) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://www.cnblogs.com/jhmydear/p/4593196.html 阅读全文
posted @ 2015-06-22 14:29 hghrpg 阅读(108) 评论(0) 推荐(0) 编辑
摘要:jsonp跨域 阅读全文
posted @ 2015-06-22 14:27 hghrpg 阅读(102) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/chelen_jak/article/details/29870185 阅读全文
posted @ 2015-06-22 01:14 hghrpg 阅读(123) 评论(0) 推荐(0) 编辑
摘要:Ifyou’refamiliarwithobject-orientedprogramming,you’relikelyaccustomedtothinkingoffunctions,methods,andclassconstructorsasthreeseparatethings.InJavaScr... 阅读全文
posted @ 2015-06-22 00:43 hghrpg 阅读(218) 评论(0) 推荐(0) 编辑
摘要:http://www.woiweb.net/efficient-javascript.html 阅读全文
posted @ 2015-06-22 00:21 hghrpg 阅读(113) 评论(0) 推荐(0) 编辑
摘要:http://ourjs.com/detail/52f572bf4534c0d806000024 阅读全文
posted @ 2015-06-22 00:20 hghrpg 阅读(124) 评论(0) 推荐(0) 编辑
摘要:http://www.ruanyifeng.com/blog/2013/01/javascript_strict_mode.html参考 阅读全文
posted @ 2015-06-22 00:17 hghrpg 阅读(111) 评论(0) 推荐(0) 编辑
摘要:本书赞誉译者序序前言第 1 章 让自己习惯 JavaScript 1第 1 条: 了解你使用的 JavaScript版本 1第 2 条:理解 JavaScript 的浮点数 6第 3 条:当心隐式的强制转换 8第 4 条:原始类型优于封装对象 13第 5 条: 避免对混合类型使用== 运算符 14第... 阅读全文
posted @ 2015-06-21 23:39 hghrpg 阅读(328) 评论(0) 推荐(0) 编辑
摘要:第 13 条:使用立即调用的函数表达式创建局部作用域这段程序(Bug 程序)输出什么?function wrapElements(a) {var result = [], i, n;for (i = 0, n = a.length; i < n; i++) {result[i] = function... 阅读全文
posted @ 2015-06-21 23:23 hghrpg 阅读(303) 评论(1) 推荐(0) 编辑
摘要:EffectiveJavaScript:编写高质量JavaScript代码的68个有效方法:Item11:GetComfortablewithClosuresClosuresmaybeanunfamiliarconcepttoprogrammerscomingfromlanguagesthatdon... 阅读全文
posted @ 2015-06-21 22:29 hghrpg 阅读(171) 评论(0) 推荐(0) 编辑
摘要:零度.NET视频教程免费下载列表 阅读全文
posted @ 2015-06-20 23:43 hghrpg 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-20 23:14 hghrpg 阅读(153) 评论(0) 推荐(0) 编辑
摘要:快速排序算法编辑快速排序一般指快速排序算法快速排序(Quicksort)是对冒泡排序的一种改进。快速排序由C. A. R. Hoare在1962年提出。它的基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进... 阅读全文
posted @ 2015-06-20 12:56 hghrpg 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-20 12:28 hghrpg 阅读(151) 评论(0) 推荐(0) 编辑
摘要:http://www.csdn.net/article/2015-06-15/2824967-es6-in-depth-generators 阅读全文
posted @ 2015-06-19 09:12 hghrpg 阅读(198) 评论(0) 推荐(0) 编辑
摘要:构造函数,成员字段。 阅读全文
posted @ 2015-06-18 23:22 hghrpg 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-18 23:16 hghrpg 阅读(117) 评论(0) 推荐(0) 编辑
摘要:插入代码段:Ctrl+K,X。如果你想快速的输入代码,这个必须记住。配合F2一起用,那将会成为一把利器。当然,使用“Ctrl+K,S”,你可以更快速的输入像try和#Region一样的代码段。强迫显示参数信息:Ctrl-Shift-空格。这绝对是个好东西。强迫智能感知:Ctrl+J。智能感知是Vis... 阅读全文
posted @ 2015-06-18 23:15 hghrpg 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-17 22:39 hghrpg 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-17 21:15 hghrpg 阅读(398) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/yexiaochai/p/3961291.html来源 阅读全文
posted @ 2015-06-16 09:27 hghrpg 阅读(140) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://www.cnblogs.com/wangfupeng1988/tag/petshop4.0/ 阅读全文
posted @ 2015-06-15 23:21 hghrpg 阅读(139) 评论(0) 推荐(0) 编辑
摘要:http://www.ruanyifeng.com/blog/2015/06/istanbul.html 阅读全文
posted @ 2015-06-15 23:02 hghrpg 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-14 21:54 hghrpg 阅读(135) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/TomXu/archive/2012/01/12/2308594.html参考 阅读全文
posted @ 2015-06-14 15:21 hghrpg 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-14 15:08 hghrpg 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-14 15:01 hghrpg 阅读(203) 评论(0) 推荐(0) 编辑
摘要:参考:http://www.cnblogs.com/xiaofeixiang/p/4188600.html 阅读全文
posted @ 2015-06-14 14:53 hghrpg 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-14 14:00 hghrpg 阅读(156) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/tianzhiliang/archive/2011/09/29/2195664.html 阅读全文
posted @ 2015-06-14 13:57 hghrpg 阅读(170) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/sunnycoder/archive/2010/03/21/1691008.html参考 阅读全文
posted @ 2015-06-14 13:53 hghrpg 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-14 13:28 hghrpg 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-14 01:44 hghrpg 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-14 00:45 hghrpg 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-11 16:24 hghrpg 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-10 21:52 hghrpg 阅读(204) 评论(2) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-08 23:19 hghrpg 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-06 15:57 hghrpg 阅读(187) 评论(0) 推荐(0) 编辑

1233333333333333333333333
点击右上角即可分享
微信分享提示