Ray's playground

 
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 56 下一页

2010年7月20日

A Tour of the Standard Library(Chapter 3 of The C++ Programming Language)

摘要: 阅读全文

posted @ 2010-07-20 09:26 Ray Z 阅读(162) 评论(0) 推荐(0)

2010年7月19日

A Tour of C++(Chapter 2 of The C++ Programming Language)

摘要: C++ is a general-purposeprogramming language with a bias towards systems programming that  – is a better C,  – supports data abstraction,  – supports object-orientedprogramming, and ... 阅读全文

posted @ 2010-07-19 21:27 Ray Z 阅读(240) 评论(0) 推荐(0)

2010年7月18日

Spring messaging(Chapter 10 of Spring In Action)

摘要: In JMS, there are two types of destination: queues and topics. Each of these isassociated with a specific messaging model, either point-to-point (for queues) orpublish-subscribe (for topics).  Althoug... 阅读全文

posted @ 2010-07-18 22:15 Ray Z 阅读(472) 评论(0) 推荐(1)

2010年7月17日

Transactions, concurrency, and caching(Chapter 5 of Hibernate In Action)

摘要: Hibernate provides a dual-layer caching system with a first-level object cache(the Session) and a pluggable second-level data cache. The first-level cache isalways active—it’s used to reso... 阅读全文

posted @ 2010-07-17 10:40 Ray Z 阅读(205) 评论(0) 推荐(1)

Building contract-first web services in Spring(Chapter 9 of Spring In Action)

摘要: 阅读全文

posted @ 2010-07-17 09:24 Ray Z 阅读(152) 评论(0) 推荐(0)

2010年7月16日

Namespaces, Source Files, and Distribution(Chapter 16 of Programming Ruby)

摘要: Putting code inside a module or class is a good way of separating it from other code.Ruby’s Math module is a good example—it defines constants such as Math::PI and Math::Eand methods such ... 阅读全文

posted @ 2010-07-16 21:28 Ray Z 阅读(165) 评论(0) 推荐(0)

2010年7月15日

Bad Parts(Appendix B. of JavaScript: The Good Parts)

摘要: 1. ==  JavaScript has two sets of equality operators: === and !==, and their evil twins == and !=. The good ones work the way you would expect. If the two operands are of the same type and have the sa... 阅读全文

posted @ 2010-07-15 22:08 Ray Z 阅读(245) 评论(0) 推荐(0)

2010年7月14日

Awful Parts(Appendix A. of JavaScript: The Good Parts)

摘要: 1. Global Variables  There are three ways to define global variables. The first is to place a var statement outside of any function:  The second is to add a property directly to the global object. The... 阅读全文

posted @ 2010-07-14 22:36 Ray Z 阅读(262) 评论(0) 推荐(0)

Style(Chapter 9 of JavaScript: The Good Parts)

摘要: I want to avoid idioms that look like mistakes.  I never allow switch cases to fall through to the next case. I once found a bug in my code caused by an unintended fall through immediately after havin... 阅读全文

posted @ 2010-07-14 12:51 Ray Z 阅读(225) 评论(0) 推荐(0)

2010年7月13日

Methods(Chapter 8 of JavaScript: The Good Parts)

摘要: JavaScript includes a small set of standard methods that are available on thestandard types.  array.concat(item...)[代码]2varb=['x','y','z'];3varc=a.concat(b,true);  array.join(separator)[代码]2a.push('d'... 阅读全文

posted @ 2010-07-13 23:02 Ray Z 阅读(187) 评论(0) 推荐(0)

上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 56 下一页

导航