Refactoring 2

As already established and addressed in Refactoring 1, refactoring is a poorly understood discipline. Most people use the term as a synonym for “changing” or perhaps “changing to address a design flaw”. However, most of what people call “refactoring” is really just “changing design” and it’s usually done in a way that carries significant risk and cost.

The word “refactoring” means “changing the design of code without affecting its external behavior.” There are precise techniques or recipes for accomplishing this and those techniques can be applied with or without tools. The tools just make it easier, faster, and often even safer.

Also established in Design Patterns 1 is the fact that software design is an aspect of your code.

Refactoring, as a whole, is a deep skill that will take most teams a long time to learn and fully adopt. The next step is to be able to introduce certain key design patterns on demand to a codebase that has already been defined.

This offering focuses on exactly that: how to introduce the concepts in Design Patterns 1 safely to existing code.

Recommended Program

The best way to continue your team’s adoption of refactoring is with a combination of live, expert-led training and coaching. We recommend our Refactoring 2 program, which includes a 3-day course with 2 days of follow-up coaching so the expert can help your team apply this technique to their real work.

Course

This 3-day course covers the basics of Refactoring along with all the requisite underlying theory to make it work, along with the practice required to make it stick.

Topics covered include:

  1. Opening (problem: need to be able to introduce patterns into code, later)
  2. Review
  3. Refactoring to Strategy (expanded from Refactoring 1)
  4. Refactoring to State
  5. Refactoring to Template
  6. Refactoring to Abstract Factory
  7. Refactoring to Builder
  8. Refactoring to Visitor
  9. Conclusion
  10. Workshop (introducing a pattern into your code)

The course is interspersed with plenty of examples and exercises to help cement the ideas and practices in the learner’s mind.

Coaching

Afterward, a recommended 3-day coaching package helps learners implement what they learned in their real code using a real PBIs to deliver real code the new way. This is typically done in the same Sprint as the course.

In these sessions, the coach will lead the team through refactoring some of their existing code to reflect the patterns in the problem that code is supposed to address. It can be done either in service of a PBI or to clean up a “problem area” of the code.

The coach will start off driving and narrating while the engineers watch. He will then gradually transfer control over to the engineers, transitioning from doing the work while they watch to guiding them through the work while he watches.

This will greatly improve the team’s ability to recall and apply the refactoring recipes they learned in Refactoring 2.

Benefits

Refactoring 1 gave your team the tools it needed to begin transforming design. This takes those skills to the next level. The ability to safely introduce one of the six Level 1 design patterns to your codebase allows your team to keep highly maintainable code friction-free as well as make significant improvements to the design of legacy code.

Knowing patterns lets you write code that is resilient to certain kinds of changes. Knowing how to refactor to patterns allows you to take existing code and add that same resiliency after the fact.

Costs

In our experience, the price tag is just a fraction of the cost of one of these transformations. We feel it is helpful to give a full view into the level of investment typically required for this kind of transformation.

There are a number of components to take into account when considering the cost of this program:

  1. Impact on capacity
  2. Time to proficiency
  3. Risks
  4. Time to results

Impact on Capacity

This will significantly impact capacity during training and immediately after. The team will not be able to deliver anything during the 3-day course and is likely to deliver at 50% capacity during the two days of coaching thereafter. Therefore, when planning costs, you should consider a 4-day loss of productivity directly related to the training & coaching activities.

Time to Proficiency

You can expect your team(s) to stay in the “practicing” phase of adoption for about six weeks.

Risks

It might take a team longer to become proficient if they do not get the opportunities that they need to practice everything in that time period. This risk can be mitigated by specifically seeking out and targeting problem areas of the code that will give the team the opportunities it needs to practice while also cleaning up some messy code.

It is also possible that the teams will struggle to apply the refactoring recipes the first few times and may fail to make transformative changes as they internalize those new skills. That risk is generally pretty low for a team that has already fully adopted the skills in Refactoring 1, though, but extant, nonetheless.

It is wise to budget a little extra time for cleanup of mistakes made while practicing the recipes in Refactoring 2.

Time to Results

Software design is a deep driver for many effects within a software development effort. As such, repairs to software design can take a long time.

Prerequisites

Enablers

none

There are no reviews yet. Be the first one to write one.



Leave a review

Explore More Programs

Privacy Policy

Effective date: 1st day of January, 2023

www.producore.com (the “Site”) is owned and operated by Producore LLC. Producore LLC can be contacted at:

Phone: +1-307-226-2200
Email: [email protected]
Mailing Address: 13601 W MCMILLAN RD STE 102-277, BOISE ID 83713-2025

Purpose

The purpose of this privacy policy (this “Privacy Policy”) is to inform users of our Site of the following:

  1. The personal data we will collect;

  2. Use of collected data;

  3. Who has access to the data collected;

  4. The rights of Site users; and

  5. The Site’s cookie policy.

This Privacy Policy applies in addition to the terms and conditions of our Site.

Consent

By using our Site users agree that they consent to:

  1. The conditions set out in this Privacy Policy; and

  2. The collection, use, and retention of the data listed in this Privacy Policy.

Personal Data We Collect

We only collect data that helps us achieve the purpose set out in this Privacy Policy. We will not collect any additional data beyond the data listed below without notifying you first.

Data Collected Automatically

When you visit and use our Site, we may automatically collect and store the following information:

  1. IP address;

  2. Location;

  3. Hardware and software details;

  4. Clicked links; and

  5. Content viewed.

Data Collected in a Non-Automatic Way

We may also collect the following data when you perform certain functions on our Site:

  1. First and last name;

  2. Email address;

  3. Phone number;

  4. Address; and

  5. Payment information.

This data may be collected using the following methods:

  1. Creating an account; and

  2. Submitting an order.

How We Use Personal Data

Data collected on our Site will only be used for the purposes specified in this Privacy Policy or indicated on the relevant pages of our Site. We will not use your data beyond what we disclose in this Privacy Policy.

The data we collect automatically is used for the following purposes:

  1. Statistics for internal-use only to improve our website and our services..

The data we collect when the user performs certain functions may be used for the following purposes:

  1. Communication; and

  2. Processing payments.

Who We Share Personal Data With

Employees

We may disclose user data to any member of our organization who reasonably needs access to user data to achieve the purposes set out in this Privacy Policy.

Other Disclosures

We will not sell or share your data with other third parties, except in the following cases:

  1. If the law requires it;

  2. If it is required for any legal proceeding;

  3. To prove or protect our legal rights; and

  4. To buyers or potential buyers of this company in the event that we seek to sell the company.

If you follow hyperlinks from our Site to another Site, please note that we are not responsible for and have no control over their privacy policies and practices.

How Long We Store Personal Data

User data will be stored until the purpose the data was collected for has been achieved.

You will be notified if your data is kept for longer than this period.

How We Protect Your Personal Data

In order to protect your security, we use the strongest available browser encryption and store all of our data on servers in secure facilities. All data is only accessible to our employees. Our employees are bound by strict confidentiality agreements and a breach of this agreement would result in the employee’s termination.

While we take all reasonable precautions to ensure that user data is secure and that users are protected, there always remains the risk of harm. The Internet as a whole can be insecure at times and therefore we are unable to guarantee the security of user data beyond what is reasonably practical.

Children

We do not knowingly collect or use personal data from children under 13 years of age. If we learn that we have collected personal data from a child under 13 years of age, the personal data will be deleted as soon as possible. If a child under 13 years of age has provided us with personal data their parent or guardian may contact our privacy officer.

How to Access, Modify, Delete, or Challenge the Data Collected

If you would like to know if we have collected your personal data, how we have used your personal data, if we have disclosed your personal data and to who we disclosed your personal data, or if you would like your data to be deleted or modified in any way, please contact our privacy officer at:

[email protected]

(307) 226-2200

300 N. Center Street, Unit 6, Casper, WY 82601

Do Not Track Notice

Do Not Track (“DNT”) is a privacy preference that you can set in certain web browsers. We do not track the users of our Site over time and across third party websites and therefore do not respond to browser-initiated DNT signals.

How to Opt-Out of Data Collection, Use or Disclosure

In addition to the method(s) described in the How to Access, Modify, Delete, or Challenge the Data Collected section, we provide the following specific opt-out methods for the forms of collection, use, or disclosure of your personal data specified below:

You can opt-out of the use of your personal data for marketing emails. You can opt-out by clicking “unsubscribe” on the bottom of any marketing email or updating your email preferences under “Your Account”

Cookie Policy

A cookie is a small file, stored on a user’s hard drive by a website. Its purpose is to collect data relating to the user’s browsing habits. You can choose to be notified each time a cookie is transmitted. You can also choose to disable cookies entirely in your internet browser, but this may decrease the quality of your user experience.

We use the following types of cookies on our Site:

  1. Functional cookies are used to remember the selections you make on our Site so that your selections are saved for your next visits; and

  2. Analytical cookies allow us to improve the design and functionality of our Site by collecting data on how you access our Site, for example data on the content you access, how long you stay on our Site, etc.

Modifications

This Privacy Policy may be amended from time to time in order to maintain compliance with the law and to reflect any changes to our data collection process. When we amend this Privacy Policy we will update the “Effective Date” at the top of this Privacy Policy. We recommend that our users periodically review our Privacy Policy to ensure that they are notified of any updates. If necessary, we may notify users by email of changes to this Privacy Policy.

Contact Information

If you have any questions, concerns or complaints, you can contact our privacy officer at:

Phone: +1-307-226-2200
Email: [email protected]
Mailing Address: 13601 W MCMILLAN RD STE 102-277, BOISE ID 83713-2025

Terms & Conditions

These terms and conditions (the “Terms and Conditions”) govern the use of www.producore.com (the “Site”). This Site is owned and operated by Producore LLC.

By using this Site, you indicate that you have read and understand these Terms and Conditions and agree to abide by them at all times.

THESE TERMS AND CONDITIONS CONTAIN A DISPUTE RESOLUTION CLAUSE THAT IMPACTS YOUR RIGHTS ABOUT HOW TO RESOLVE DISPUTES. PLEASE READ IT CAREFULLY.

Intellectual Property

All content published and made available on our Site is the property of Producore LLC and the Site’s creators. This includes, but is not limited to images, text, logos, documents, downloadable files and anything that contributes to the composition of our Site.

Acceptable Use

As a user of our Site, you agree to use our Site legally, not to use our Site for illegal purposes, and not to:

  • Harass or mistreat other users of our Site;

  • Violate the rights of other users of our Site;

  • Violate the intellectual property rights of the Site owners or any third party to the Site;

  • Hack into the account of another user of the Site;

  • Act in any way that could be considered fraudulent; or

  • Post any material that may be deemed inappropriate or offensive.

If we believe you are using our Site illegally or in a manner that violates these Terms and Conditions, we reserve the right to limit, suspend or terminate your access to our Site. We also reserve the right to take any legal steps necessary to prevent you from accessing our Site.

User Contributions

Users may post the following information on our Site:

  • Public comments.

By posting publicly on our Site, you agree not to act illegally or violate these Terms and Conditions.

Accounts

When you create an account on our Site, you agree to the following:

  1. You are solely responsible for your account and the security and privacy of your account, including passwords or sensitive information attached to that account; and

  2. All personal information you provide to us through your account is up to date, accurate, and truthful and that you will update your personal information if it changes.

We reserve the right to suspend or terminate your account if you are using our Site illegally or if you violate these Terms and Conditions.

Sale of Goods And Services

These Terms and Conditions govern the sale of goods and services available on our Site.

The following goods are available on our Site:

  • Templates; and

  • Guides.

The following services are available on our Site:

  • Training courses;

  • Coaching services; and

  • Consulting services.

The services will be paid for in full when the services are ordered.

These Terms and Conditions apply to all the goods and services that are displayed on our Site at the time you access it. This includes all products listed as being out of stock. All information, descriptions, or images that we provide about our goods and services are as accurate as possible. However, we are not legally bound by such information, descriptions, or images as we cannot guarantee the accuracy of all goods and services we provide. You agree to purchase goods and services from our Site at your own risk.

We reserve the right to modify, reject or cancel your order whenever it becomes necessary. If we cancel your order and have already processed your payment, we will give you a refund equal to the amount you paid. You agree that it is your responsibility to monitor your payment instrument to verify receipt of any refund.

User Goods and Services

Our Site allows users to sell goods and services. We do not assume any responsibility for the goods and services users sell on our Site. We cannot guarantee the quality or accuracy of any goods and services sold by users on our Site. However, if we are made aware that a user is violating these Terms and Conditions, we reserve the right to suspend or prohibit the user from selling goods and services on our Site.

Subscriptions

Your subscription does not automatically renew. You will be notified before your next payment is due and must authorize that payment in order for your subscription to continue.

You may cancel your subscription anytime before the renewal date and up to 14 days after renewal.

Payments

We accept the following payment methods on our Site:

  • Credit Card;

  • Debit; and

  • Direct Debit.

When you provide us with your payment information, you authorize our use of and access to the payment instrument you have chosen to use. By providing us with your payment information, you authorize us to charge the amount due to this payment instrument.

If we believe your payment has violated any law or these Terms and Conditions, we reserve the right to cancel or reverse your transaction.

Consumer Protection Law

Where any consumer protection legislation in your jurisdiction applies and cannot be excluded, these Terms and Conditions will not limit your legal rights and remedies under that legislation. These Terms and Conditions will be read subject to the mandatory provisions of that legislation. If there is a conflict between these Terms and Conditions and that legislation, the mandatory provisions of the legislation will apply.

Limitation of Liability

Producore LLC and our directors, officers, agents, employees, subsidiaries, and affiliates will not be liable for any actions, claims, losses, damages, liabilities and expenses including legal fees from your use of the Site.

Indemnity

Except where prohibited by law, by using this Site you indemnify and hold harmless Producore LLC and our directors, officers, agents, employees, subsidiaries, and affiliates from any actions, claims, losses, damages, liabilities and expenses including legal fees arising out of your use of our Site or your violation of these Terms and Conditions.

Applicable Law

These Terms and Conditions are governed by the laws of the State of Wyoming.

Dispute Resolution

Subject to any exceptions specified in these Terms and Conditions, if you and Producore LLC are unable to resolve any dispute through informal discussion, then you and Producore LLC agree to submit the issue first before a non-binding mediator and to an arbitrator in the event that mediation fails. The decision of the arbitrator will be final and binding. Any mediator or arbitrator must be a neutral party acceptable to both you and Producore LLC. The costs of any mediation or arbitration will be shared equally between you and Producore LLC.

Notwithstanding any other provision in these Terms and Conditions, you and Producore LLC agree that you both retain the right to bring an action in small claims court and to bring an action for injunctive relief or intellectual property infringement.

Severability

If at any time any of the provisions set forth in these Terms and Conditions are found to be inconsistent or invalid under applicable laws, those provisions will be deemed void and will be removed from these Terms and Conditions. All other provisions will not be affected by the removal and the rest of these Terms and Conditions will still be considered valid.

Changes

These Terms and Conditions may be amended from time to time in order to maintain compliance with the law and to reflect any changes to the way we operate our Site and the way we expect users to behave on our Site. We will notify users by email of changes to these Terms and Conditions or post a notice on our Site.

Contact Details

Please contact us if you have any questions or concerns. Our contact details are as follows:
Phone: +1-307-226-2200
Email: [email protected]
Mailing Address: 13601 W MCMILLAN RD STE 102-277, BOISE ID 83713-2025

Effective Date

1st day of January, 2023