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…
前言 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…
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…