Videos tagged with refactoring


DimeCasts.Net #172: Code Contracts: Validating state with Assert, Assume, ForAll, Exists

DimeCasts.Net #172: Code Contracts: Validating state with Assert, Assume, ForAll, Exists

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

In this episode we are going to take a look at how to utilize some additional features in the Code Contracts library to validate the state of our application.We are going to focus our efforts here to learn how to use Assert and Assume to validate a given value in our code. We will also learn how to use ForAll and Exists, which can be used to validate content inside of an array or a collection.

Tags: Frameworks, Microsoft, refactoring, .NET Framework, DimeCasts.Net, Derik Whittaker, Broadcasting, Screencasts, Development, Companies



DimeCasts.Net #164: Learning how to use Manual Mocks for Testing

DimeCasts.Net #164: Learning how to use Manual Mocks for Testing

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

In this episode we are going to take a look at how to use manual mocks for testingOften times when creating unit tests we need to work in isolation in order to cover the paths we are attempting to test. When we want to test in isolation you can use a testing technique where you mock out your dependencies. When using Mocks you can either do it manually (what we are looking at) or you can use a m...

Tags: Frameworks, Microsoft, refactoring, .NET Framework, DimeCasts.Net, Derik Whittaker, Broadcasting, Screencasts, Development, Companies


DimeCasts.Net #163: Larning how to use the Extract Interface Technique

DimeCasts.Net #163: Larning how to use the Extract Interface Technique

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

In this episode we are going to take a look at another refactoring technique, the Extract Interface technique.This technique allows you to extract an interface from a class in order to break your concrete dependencies. By doing this you can provide yourself with better testing support as well as a better layer of abstractions.

Tags: Frameworks, Microsoft, refactoring, .NET Framework, DimeCasts.Net, Derik Whittaker, Codebetter.com, Broadcasting, Screencasts, Development, Companies, ...


DimeCasts.Net #134: Refactoring Techniques: Learning the Wrap Method

DimeCasts.Net #134: Refactoring Techniques: Learning the Wrap Method

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

In this episode we are going to take a look at a refactoring technique outlined in detail in Working Effectively with Legacy CodeWe will walk though this technique and take a look at how it can help you to create better and more maintainable code.

Tags: Frameworks, Microsoft, refactoring, .NET Framework, DimeCasts.Net, Derik Whittaker, Red-Gate.com, Broadcasting, Screencasts, Development, Companies, ...




RubyConf 2008: Unfactoring From Patterns

RubyConf 2008: Unfactoring From Patterns

Posted in Conferences, Development, Ruby

Unfactoring is the process of taking well designed software and, through an iterative series of small changes, making it completely unmaintainable by anyone but you. About Rein Henrichs An avid guitarist, pianist and table tennis player, Rein works at Hashrocket, writes a popular Ruby blog and speaks frequently at Ruby events. He is passionate about best practices and using patterns to write be...

Tags: Conferences, Ruby, Design Patterns, refactoring, Confreaks, RubyConf 2008


DimeCasts.Net #61: Becoming a ReSharper Samurai - Part 1

DimeCasts.Net #61: Becoming a ReSharper Samurai - Part 1

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

In this episode you will start your journey on becoming a ReSharper Samurai.This is the first in a multi-part series were we will guide you through various features of ReSharper. In this episode we will take a look at the following.- Toggling scope on class and methods- LiveTemplates- Generate Constructor- Extract Interface- Derive Clas- Much, Much more

Tags: Frameworks, Microsoft, refactoring, .NET Framework, Visual Studio, DimeCasts.Net, ReSharper


Ruby Hoedown 2008: flog << Test.new

Ruby Hoedown 2008: flog << Test.new

Posted in Conferences, Development, Ruby

&nbsp; This presentation will show how to transform a Ruby application without tests into a well-spec'd (via rspec) system with good test coverage. The presentation teaches how to write &quot;characterization tests&quot; for Ruby systems, how to convert characterization tests into normal specifications, and how to refactor and add new functionality to the improved system. The code to be tested ...

Tags: Conferences, Ruby, refactoring, BDD, RSpec, Unit Testing, Confreaks, Ruby Hoedown 2008


MVC Storefront, Part 18: Creating An Experience

MVC Storefront, Part 18: Creating An Experience

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, ASP.NET, Screencasts, .NET Framework

There's been a pretty big gap in the productions here, and it's mostly because I couldn't figure out what exactly to show. I also need to finish this thing - it's taking longer than I'd like! In this episode I go over some of the refactoring I've done and then show you my process for pulling the initial application together. by Rob Conery

Tags: Frameworks, Microsoft, ASP.NET, C#, refactoring, .NET Framework, ASP.NET MVC, MVC Storefront


The Principles of Agile Design

The Principles of Agile Design

Posted in Conferences, Development, Practices, Design

Summary Bob Martin of Object Mentor presents the first of his five principles of agile design. Beginning with an explanation of the real purpose of object-oriented design - the management of dependencies - Bob walks through a code example to illustrate how dependencies can be managed with abstractions, and that good designs are those in which high-level abstractions do not depend on low-level d...

Tags: Practices, Conferences, Design Patterns, Design, Agile, refactoring, InfoQ, Modeling, Presentations, OOP, Agile2006, ...