Code Refactoring for .NET
We look at the approaches and methods for improving source code readability in C#. You値l practice refactoring of small programs, focusing on various aspects of improving the existing code.
24 hours
Online
English
DEV-006_NET
Code Refactoring for .NET
Sign Up
Duration
24 hours
Location
Online
Language
English
Code
DEV-006_NET
Schedule and prices
€ 415
Training for 7-8 or more people? Customize trainings for your specific needs
Code Refactoring for .NET
Sign Up
Duration
24 hours
Location
Online
Language
English
Code
DEV-006_NET
Schedule and prices
€ 415
Training for 7-8 or more people? Customize trainings for your specific needs

Description

Have you ever encountered source code is difficult to read? Where you spend a lot of time trying to understand what the developer wanted to express in that particular code fragment.

In this training we値l show you how to not become that developer. You will learn about code smells, why and where they appear, and what techniques are used to remove them. We値l start from simple problems in a single function and end with problems of communication between classes. We will also discuss what should and what should not be done to make your code easy to read.
After completing the course, a certificate
is issued on the Luxoft Training form

Objectives

  • Provide an overview of code smells
  • Best practices for improving the readability of existing code
  • How to identify problems in C# program code
  • How to improve readability of C# source code

Target Audience

  • C# developers with 1 to 2 years of experience

Prerequisites

  • General basic knowledge of programming
  • Basic knowledge of script languages
  • Understanding code logic flows

Roadmap

Refactoring
  • Introduction
  • The notion of refactoring, purpose of refactoring
  • Test-driven development

Code smells
  • Overview
  • Definition of code smell
  • Good design principles
  • Code smells in tests, smells in databases (overview)
  • Smells in architecture, smells in personnel management

Common problems in code
  • Organizing data
  • Fields
  • Data arrays
  • References and values
  • Code fields
  • Simplifying conditional expressions
  • Simplifying method calls
  • Dealing with generalization
  • Composing methods

Smells inside a class
  • Easily discovered problems
  • Names
  • Excessive complexity
  • Duplication
  • Conditional logic

Moving features between objects
  • Single responsibility principle
  • Cohesion
  • The Law of Demeter
  • Moving methods/fields
  • Extracting a class
  • Inline class
  • Hiding delegates
  • Remove middle man
  • Extension methods

Problems in communication between classes
  • Data. Inheritance
  • Responsibility
  • Adopting changes
  • Library classes
Schedule and prices
View:
Register for the next course
Registering in advance ensures you have priority. We値l notify you when we schedule the next course on this topic
+
Courses you may be interested in
Basics of .NET Development and C# Language
The course covers specifics of Microsoft .NET 4.0, program structure, syntax of C# 4.0 language, as well as development skills in Visual Studioョ 2010.
Unit Testing in .Net
Unit testing is an approach where the programmer covers his code with tests that protect it from regression and ensure that it is correct. This makes UT mandatory when related to Agile development and Continuous Integration. This course also talks about other useful (but not always obvious) advantages of this technique.
Advanced .Net
This training cover three major areas: Dependency Management in .NET, Asynchronous Future in .NET Framework and C# Tips and Tricks.
View Catalog
Your benefits
Expertise
Our trainers are industry experts, involved in software development project
Live training
Facilitated online so that you can interact with the trainer and other participants
Practice
A focus on helping you practice your new skills
Still have questions?
Connect with us
Thank you.
Your request has been received.
Thank you!
The form has been submitted successfully.