- 博客(80)
- 资源 (2)
- 收藏
- 关注
原创 No. 9
Sometimes I just want to give a high five to everyone. With a chair. In the face.
2016-06-30 13:57:22
580
1
原创 Title Four:Rainy
joke:programmer: an organism that turns caffeine and pizza into software
2016-04-30 21:44:13
451
1
原创 Title1:sometimes we need to find out
what if we can ...what if it is ...what if they are...
2016-03-31 21:12:32
331
1
原创 Null Object Pattern
"Null Object Pattern", I know this from a highest voted question on stackoverflow.
2016-02-29 10:32:34
332
原创 DeadLock
Mutual ExclusionLock & WaitNo PreemptionCircular WaitBreaking Mutual ExclusionBreaking Lock & WaitBreaking PreemptionBreaking Circular Wait
2016-01-29 10:02:03
494
1
原创 Smells and Heuristics
CommentsInappropriate InformatonObsolete CommentRedundant CommentPoorly Written CommentCommented-Out CodeEnvironmentFunctionsToo Many ArgumentsOutput ArgumentsFlag Argume
2016-01-29 10:00:02
483
原创 Successive Refinement
Args ImplementationArgs The rough draftString Arguments
2015-11-30 22:34:21
644
原创 Concurrency
Why Concurrency?ChallengesConcurrency Defense principlesKnow your libraryKnow your Execution ModelsBeware Dependencies Between Synchronized MethodsKeep Synchronized Sections Small
2015-11-30 22:31:55
547
原创 Emergence
Getting Clean via Emergen DesignSimple Design: Runs All the Tests、RefactoringNo Duplication
2015-10-31 23:06:19
478
原创 Unit Tests
The Three Laws of TDDClean TestsOne Assert per TestF.I.R.S.T
2015-09-30 22:54:16
472
原创 Error Handling
Use Exceptions Rather Than Return CodesUse Unchecked ExceptionsDefine the Normal Flow
2015-08-30 15:58:00
492
原创 Objects and Data Structures
Data AbstractionData/Objects Anti-SymmetryThe Law of EemeterData Transfer Objects
2015-07-31 21:32:48
549
原创 Formatting
You should take care that your code is nicely formatted. You should choose a set of simple rules that govern the format of your code, and then you should consistently apply those rules. If you are wo
2015-07-31 21:19:29
639
原创 Comments
Comments Do Not Make u for bad codeExlain yourself in codegood comments
2015-06-30 22:09:10
577
原创 Meaningful Names
We name variables, argumeants, classes and packages. We name source files and directories that contain them. We name jar files and war files and ear files. We names a lot. We'd better do it well.
2015-05-31 22:27:29
650
原创 What is Clean Code?
What is Clean Code?Bjarne Stroustrup, inventor of C++ and author of The C++ Programming LanguageI like my code to be elegant and efficient. The logic should be straightforward to make it hard for
2015-05-31 22:16:52
657
原创 Tools for Java programmers(2015)-2
5) Visualvm VisualVM is a visual tool integrating several commandline JDK tools and lightweight profiling capabilities. It utilizes various available technologies like jvmstat, JMX, the Serviceabi
2015-04-30 23:16:24
653
原创 Tools for Java programmers(2015)-1
Best Java Tools you should know about in year 2015.1) SparkJavaSparkJava is new, lightweight and powerful web application framework for java programmers. Spark focuses on being as simple and str
2015-04-30 22:34:11
747
原创 Interview and English(2)
Question about Agile 1. Q: What are the benefits of Agile Software development?A: Agile methods grew out of the real-life project experiences of leading software professionals who had experi
2015-03-31 23:13:46
712
转载 Interview and English(1)
When an interview question is asked in English, will it be diffcult to answer? Found someting about how to answer top java interview questions.The Java Job InterviewThe best way to prepare for
2015-03-31 22:12:40
956
原创 about nodejs(2)
Intro from official website:Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model t
2015-01-31 23:30:01
551
原创 Short Intro of Nodejs
Node.js is an open source, cross-platform runtime environment for server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on
2015-01-31 23:22:16
735
原创 开源slides工具
there's a javascript framework for making slides in HTML+CSS, if you are a web developerhttps://github.com/gnab/remarkhttps://github.com/gnab/remark/wikiMy friend‘s slides:http://settinghead
2014-12-31 23:03:35
998
1
原创 把用某符号分隔的字符串转换成数组
常见的一道面试题:把某某符号(“,”或 “#”)分隔的字符串转换成一个数组。思路有两个:(1)使用split()函数(2)StringTokenizer举例:一个字符串str用逗号分隔为:“aa,bb,cc,dd,ee,ff,gg” 要求将其转换成数组实际中的情境举例:如初期的高校云平台中评教部分,学生评教时会记录每个评分项的id和该项学生评的分数,实现时使用JavaS
2014-12-31 22:23:44
7100
1
翻译 如何在Java中进行字符串(String)比较
http://stackoverflow.com/questions/513832/how-do-i-compare-strings-in-java如何在Java中进行字符串(String)比较?I've been using the == operator in my program to compare all my strings so far. However, I
2014-05-30 21:30:26
935
3
原创 Basics of Apache Ant
what is Ant? (Ant是什么)Apache Ant is a Java-based build tool whose mission is to drive processes described in build files as targets and extension points dependentupon each other.(Ant uses XML to
2013-02-20 21:55:54
1209
5
原创 String、StringBuffer和StringBuilder
在Java中负责操作字符的类常用的有:Character、String、StringBuffer(从jdk1.5又增加了旨在某些情况下替代StringBuffer的StringBuilder)1. Character:对单个字符进行操作2. String:对定长的字符串进行操作3. StringBuffer(StringBuilder):对变长的字符串进行操作在Java面试
2013-01-01 14:10:27
1129
6
《Getting Things Done》尽管去做-无压的工作艺术
2010-10-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人