I’ve been working in C++ for a few months now – after three years we’ve been apart.I always amazes me how simple things I took for granted do not exist (at least not out of the box) in C++, one of which are reflection.Two weeks ago I needed to make sure that a method was … Continue reading Simple Mocking in C++
Author: Dror Helper
Create live templates using Resharper
From time to time I find myself writing the same code – a task I find boring, tedious and error prone(I’m not talking about code duplication – which should be eliminated as the evil it is) as the lazy developer that I am I prefer to let a tool perform these tasks for me. Today … Continue reading Create live templates using Resharper
Be-aware of productivity tools
In his post Beware of Productivity Tools Mark Seemann explains why he shun from using so called “productivity tools” – tools like Resharper, CodeRush, JustCode or any other tool that is runs on top of Visual Studio in order to enhance development. While I don’t know Mark personally, I’m in the middle of his book … Continue reading Be-aware of productivity tools
Why I like C++ 11 – auto & nullptr
I’ve been away from C++ for the last three years, this is the longest we’ve been apart.Luckily I’ve been given a chance to sharpen my skills and in the last few weeks I’ve been working exclusively in C++. During our time apart C++ has grown, and changed – this is not your father’s C++ it’s … Continue reading Why I like C++ 11 – auto & nullptr
Tip: Using Notepad++ to read log files
I had to read a log file containing a few hundred lines today at work. My first instinct was to open it using my trusty Notepad++. While the file was not huge it was still difficult to traverse it and my eyes kept jumping between lines. Finding the errors and warning was proving to be … Continue reading Tip: Using Notepad++ to read log files
In search of a Better Place
Last week the company I was employed at went bankrupt. It was the end of a long process which started about a year ago. It was a sad experiencer - I believed in the company and its goals. I hoped that the company’s amazing vision would become reality - and it did for a while. … Continue reading In search of a Better Place
Ruby on Rails – A Jumpstart for .NET Developers review
I’ve just finished watching Dustin’s Ruby on rails course last week – and the new things I’ve learnt are still sinking in. PluralSight is a great resource, it has a huge library of online training and I have used them from time to time to learn new technologies and methodologies. And so I jumped on … Continue reading Ruby on Rails – A Jumpstart for .NET Developers review
How to write a unit test
Last week I had the pleasure of participating in Sela Developer Practice. Before my session I sat through Gil ZIlberfeld’s session “7 steps for writing your first unit test” and I found myself thinking – what are steps I take when writing a new unit test?I’ve been writing them for so long and never noticed … Continue reading How to write a unit test
Sela Developer Practice 2013
I’m speaking at SDP2013 – two weeks from now. I’ll be talking about mocking (surprise!) in “Battle of the Mocking Frameworks”. So if you’re happen to come to the conference on May 7th – drop by and say hi. Until then – happy coding…
Unit testing multi threaded code–Timers
Writing unit tests for multi-threaded is not simple and could even be impossible for some scenarios – how could you test that an asynchronous method was not called?Since most unit testing examples tend to be rather trivial I’ve decided to try and explain other more complex scenarios – preferably without using any calculator examples.The “Timer” … Continue reading Unit testing multi threaded code–Timers


