SBP 14 – be prepared to prune dead code over time
PaaS service configurations can create mounds of dead code. Manage the complexity and do not allow vestigial code to build up in deployed systems. Purge it if it is not used.
Maintaining code quality is an ongoing battle. Pruning dead code becomes not just a routine cleanup operation but a necessary discipline to avoid the perils of code base stagnation and to maintain the agility of systems. This section explores the importance of identifying and removing dead code, especially within PaaS service configurations, where the agility of the platform can often lead to a quick buildup of unused code.
The accumulation of dead code in software and PaaS systems
The digital world’s life cycle is riddled with the remnants of past coding endeavors. Dead code, or code that is no longer executed in the live environment, has a notorious propensity for creeping into software and PaaS systems, lurking unseen and often ignored...