I go to the gym and lift weights because I like the feeling of getting stronger and better. Two months ago, I started to feel a throbbing pain in my knees, yet I continued to go to the gym. I wanted so badly to keep getting stronger that I neglected…
Writing Reentrant and Thread-Safe Code 编写可重入和线程安全的代码 (http://www.ualberta.ca/dept/chemeng/AIX-43/share/man/info/C/a_doc_lib/aixprggd/genprogc/writing_reentrant_thread_safe_code.htm) In single-threaded processes there is only one flow of control. The…
1.类SQL PLUS窗口:File->New->Command Window,这个类似于oracle的客户端工具sql plus,但比它好用多了. 2.设置关键字自动大写:Tools->Preferences->Editor,将Keyword case选择Uppercase.这样在窗口中输入sql语句时,关键字会自动大写,而其它都是小写.这样阅读代码比较容易,且保持良好得编码风格,同理,在Tools->Preferences->Code Assistant(助手)里可…
前言 What's mocking and its benefits Mocking is an integral part of unit testing. Although you can run your unit tests without use of mocking but it will drastically slow down the executing time of unit tests and also will be dependent on external reso…
Mocks Aren't Stubs The term 'Mock Objects' has become a popular one to describe special case objects that mimic real objects for testing. Most language environments now have frameworks that make it easy to create mock objects. What's often not realiz…
Levels of Testing- Acceptance- Performance- Functional- Integration- Unit Why Unit Testing- Feedback Cycles- Usage Model- Eailier Bug Detection- Refactoring Test Driven Development (TDD)`Write the tests before writing the code (incrementally)- Better…
目录 Java开发过程中的常用工具类库 1. Apache Commons类库 2. Guava类库 3. Spring中的常用工具类 4. 其他工具 参考 Java开发过程中的常用工具类库 1. Apache Commons类库 Apache Commons是一个非常有用的工具包,为解决各种实际的问题提供了通用现成的代码,不需要我们程序员再重复造轮子.关于这个类库的详细介绍可以访问官网介绍.下面表格列出了部分的工具包.我们平时开发过程中可以根据自己的需要挑选合适的工具包. Components…
https://blog.rubylearning.com/best-practices-for-a-new-go-developer-8660384302fc This year I had the privilege to organize GopherConIndia 2015 and also interview a number of Gophers. Read what Gophers from across the world had to say to the question …
https://dzone.com/refcardz/csharp C#Development 13 Things Every C# Developer Should Know Written by Jon JarboeSenior Technical Manager, Coverity Gives 13 useful tips and references for using C#, a simple, modern, general purpose, object-oriented, mul…
Eclipse offers an integrated development environment having an extensible plug-in system. This enables Eclipse to provide all functionality on the top of its run-time system. It’s also different from other applications (where the functionality provid…