Refactoring Tweaks… por Tonya Mork [Leanpub PDF/iPad/Kindle]
Refactoring Tweaks - Workbook
Refactoring Tweaks - Workbook
Refactoring Tweaks - Workbook

This book is 100% complete

Completed on 2016-09-23

About the Book

You read Refactoring Tweaks.  How do you adapt the refactoring tweaks into your codebase?  It starts with practice.  First you need to develop the knack for spotting improvement areas. Then you can set out to refactor each one to improve your code.  But that takes practice.

The intent of this workbook is to provide you practice code challenges to help you fine-tune your refactoring skills.  Each challenge is an actual example from a WordPress plugin, theme, or core.  Each one has multiple refactoring opportunities to maximize your time.

How to Do the Exercises

  1. The first step is to review the code challenge.  
  2. Then mark each one of the potential improvement areas.  Refer back to the tweaks in the book if you get stuck.  
  3. Next refactor each of the areas that you identified.
  4. Compare your code to the solutions.


Each code challenge has a detailed solution, which walks you through step-by-step.  The intent is to share the thought process, why, and then the how to for refactoring. I even toss in some master tips and additional information too.

Come on. Let's have some fun.  It's time to fine-tune your refactoring chops.

Bundles that include this book

Refactoring Tweaks
Refactoring Tweaks - Workbook
2 Books
Regular Price
Bundle Price

About the Author

Tonya Mork
Tonya Mork

Tonya Mork is a technology leader, educator, electrical and software engineer, author, and kind and silly gal. She is on a mission to help WordPress developers be more awesome by sharing her [gulp] three decades of high-tech experience.

At Know the Code, she helps professional web developers level up by teaching programming, code construction, problem solving, and how to think about code as well as this profession.

Her secret ingredients are making programming fun, relatable, and adaptable so that you can get the computer to do what you need to do in any programming language. She advocates software principles of clean, quality coding, fundamentals, and incremental, continuous learning. She's here in WordPress because of this incredible community.


Tonya's been in engineering since the mid-1980s. For over two decades, she was an electrical and software engineer, team lead, project manager, and chief engineer building mega-million dollar systems for the big manufacturers of the world. In 2002 she started her engineering company to help manufacturers solve complex problems, fine-tune technical teams, and provide training.

Over the years, she and her teams built some fun, innovative, and cool stuff, like visual-guided robotic systems, web-based predictive modeling systems, web-based diagnostic systems, and just about any kind of instrumentation, testing, and assembly computer-controlled automation.  

She excels at problem solving, risk analysis, root cause analysis, team building, teaching, innovative thinking, critical thinking, and breaking down complexity into relatable concepts.

Check out her bio and CV on LinkedIn.

My Story

She tells her story of going from engineering to teaching in WordPress in her Finding Your Purpose in Life essay.  You should really go read her story as it will answer your questions and inspire you.

Want to know more about Tonya?

Check out her about me page on her personal site and follow her on Twitter.

Other books by this author

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub