Software Development in Practice by Bernie Fishpool
Author:Bernie Fishpool
Language: eng
Format: epub
Publisher: BCS Learning & Development Limited
Published: 2020-05-15T00:00:00+00:00
Refactoring
It is not a trade industry secret to say that code is often developed at a reasonably frantic rate. This leads to technical shortcuts, a lack of appropriate (i.e. rigorous) testing and, to be honest, less-than-ideal additions to a production codebase. The usual suspects include:
vulnerable code with insufficient data or data type checking;
overlong (or overcomplicated) functions;
functions which break the SRP (single responsibility principle): performing more than one core task;
badly designed classes, particularly ones that have grown too large and unwieldy;
orphan functions which possibly should belong elsewhere;
unnecessary code duplication: WET vs DRY;
short-term âhacksâ which are used to patch a codebaseâs behaviour temporarily;
obsolete and/or potentially misleading comments which no longer reflect the code they accompany;
over-engineered code which attempts to predict future need (more on this later) and becomes needlessly layered and overcomplicated;
badly named identifiers â too short, too long or simply do not meet team standards;
âGodâ lines, where a single complex line of code possibly defies easy maintenance or breaks coding standards (e.g. recommended maximum line length).
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9365)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9336)
The Mikado Method by Ola Ellnestam Daniel Brolund(9300)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7845)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7397)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7304)
Grails in Action by Glen Smith Peter Ledbrook(7291)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7111)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5950)
Kotlin in Action by Dmitry Jemerov(4633)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(3846)
Functional Programming in JavaScript by Mantyla Dan(3718)
Learning Java by Patrick Niemeyer & Daniel Leuck(2867)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2830)
Mastering Python for Finance by Weiming James Ma;(2824)
WordPress Plugin Development Cookbook by Yannick Lefebvre(2576)
Mastering Java 9 by Dr. Edward Lavieri(2569)
Architecting Modern Java EE Applications: Designing lightweight, business-oriented enterprise applications in the age of cloud, containers, and Java EE 8 by Daschner Sebastian(2555)
Learning Concurrency in Python by Elliot Forbes(2547)