Refactoring o del codice degradabile e indecifrabile (Accoto)

“Le operazioni di rifattorizzazione del codice sono chiamate a rivelare la sua complessità nascosta e a rimediare alla sua degradazione nel tempo e nella scala. Così il refactoring del software è una pratica arrischiata e vitale, al contempo indesiderata e inevitabile: deve preservare la leggibilità (e familiarità) umana del codebase di servizi e applicazioni riducendone la complessità non necessaria ed aumentandone la performatività. E senza che questo cambiamento ottimizzante interno al sistema in deterioramento risulti visibile all’esterno. Filosoficamente, il refactoring avverte e affronta il rischio della programmazione come linguaggio degradabile e indecifrabile. Saper leggere questa (degrazione della) nuova scrittura vivente del mondo, allora, deve essere operazione ingegneristica tanto quanto filosofica” (Accoto 2020)

“Code is a living, breathing thing … Refactoring at scale also goes hand-in-hand with refactoring live systems” (Refactoring at Scale, Lemaire, 2020)

“One of the problems with analyzing code is that its written expression represents only its static form before it has been processed. Code is at once what it is and what it does” (Critical Code Studies, Marino, 2020)

“Software refactoring operations are called upon to reveal code hidden complexity and to remedy its degradation over time and scale. Thus software refactoring is a risky and vital practice, at the same time undesired and inevitable. It must preserve the human readability (and familiarity) of the codebase of services and applications reducing its unnecessary complexity and increasing its performativity (optimization of the internal degrading machine state not to be made visible on the outside). So, philosophically, refactoring warns and faces the risk of programming as a degradable and indecipherable language. Knowing how to read (this degradation of) the new living computational writing of the world need to be a software engineering operation as much as a philosophical one “(Accoto 2020)

Published by

Cosimo Accoto

Research Affiliate at MIT | Author "Il Mondo Ex Machina" (Egea) | Philosopher-in-Residence | Business Innovation Advisor | www.cosimoaccoto.com