Telerik blogs
  • Productivity

    Why Mocking Matters

    How does mocking benefit me?  That’s a question I hear a lot as I travel around the world giving talks.  So before we dive into how to use a mocking tool like JustMock, let’s discuss why this is important and the benefit that mocking provides over other techniques like Fakes. In my post on Why SOLID Matters, we refactored a small piece of code to be more SOLID.  Granted, it was a simplistic example, but good for illustrating several key points on SOLID.  We will continue using the same code to discuss the benefits of Mocking.  As a refresher, we ended...
    October 10, 2012
  • Release

    JustCode 2012 Q2 Service Pack 2 Makes Navigation Even Easier

    JustCode has long been helping developers navigate their code and quickly find Files, Types, Members, and Symbols.  The most recent Service Pack (released 12-September 2012) has made it even easier!  Go To File (Ctl-Alt-G) Camel Case Searching Entering capital letters (or a combination of capital letters and lowercase letters) into the search box will filter the files accordingly.  For example, I know that I have two BDD concerns that test logging in, both starting with “When_Logging_In”.  By Typing “WLI”, the Go To File dialog filters down to the files that have the capital letters W,L,I in their name (in order).  The result is...
    September 27, 2012
  • Productivity

    Why SOLID Matters

    One of the biggest struggles that developers have with adopting Unit Testing, whether it’s Test Driven Development (TDD), Behavior Driven Development (BDD) or even just Test Eventual Development (TED), is the difficulty some code is to test.  This is typically when code doesn’t follow the SOLID design principles. If you aren’t familiar with Robert C. Martin’s SOLID Principles, here is a quick summary. There are five SOLID principles put forth by Robert (Uncle Bob) C. Martin. Single Responsibility Principle A class should have one, and only one, reason to change Did you ever have a Swiss Army knife?  64 features, but you could never...
    September 25, 2012
  • People

    Bad code exposed! Do you really know when your code smells?

    I’ve seen really bad code in my day. I have seen it in legacy code bases, code reviews on greenfield projects, and worse: I’ve even seen it in my own code. In fact, I can open up just about any open source project and immediately detect the existence of potentially bad code. I am not bragging… it is not as though I am incredibly gifted or that I have superhuman powers. I’ve experienced enough issues from bad code to intuitively pick up on much of it, and the rest of my knowledge comes from reading books on the subject of writing...
    September 24, 2012
  • Productivity

    Just* works even better in Visual Studio 2012

    Exciting news never comes alone. The brand-new Visual Studio 2012 is officially released bringing lots of good and handy new features, options and opportunities for all .NET developers. Telerik is never behind, and we’ve released Service Packs for your favorite Telerik tools that make them integrate seamlessly with Visual Studio 2012. The recent Telerik JustCode Service Pack 2 adds dynamic support for the new color themes in VS 2012. This means that if you change the colors and theme of your Visual Studio 2012 instance, JustCode will simply pick them up and use them. And if VS looks good, JustCode will look...
    September 20, 2012