Clean Code
Corso
Online
Hai bisogno di un coach per la formazione?
Ti aiuterà a confrontare vari corsi e trovare l'offerta formativa più conveniente.
Descrizione
-
Tipologia
Corso
-
Metodologia
Online
-
Inizio
Scegli data
Perché abbiamo bisogno di Clean Code? I programmi evolvono, quindi il codice viene aggiornato continuamente, può essere molto, molto difficile tornare indietro attraverso il codice non pulito per trovare e aggiornare il codice sorgente in media, il costo di scrittura del codice originale è solo il 40% del costo totale di un sistema ; Il 60% del costo, in media, viene impiegato per mantenere e aggiornare il codice Il codice errato aumenta drammaticamente il rapporto 40/60, confinante con il 20/80 nei casi peggiori; più il codice è impuro, più tempo passiamo ad aggiornarlo .
Machine Translated
Sedi e date
Luogo
Inizio del corso
Inizio del corso
Profilo del corso
There are no specific requirements needed to attend this course.
Opinioni
Programma
Day 1
Introduction
Good and standardized naming
-names of packages, files, classes, voids and functions as well as variables need to have meaningful names derived from their purpose
-should be readable
-should be searchable
-consider the namespace we're generating; does it make sense?
Classes, objects and data structures
-there's a difference between objects that do something and structures that simply contain data
-when to use data structures, and why
-when to use objects, and why
-OOD and abastraction
-getters/setters and why
-better to have many small classes, with many small voids and functions
Good comments
-there are good and bad comments;
-we need to know how to generate good comments and forget about the rest
Day 2
Functions
-one thing only
-small
-arguments (good and bad)
-unintended side effects
Error handling
-when to handle errors, when to let them bubble up
-if we handle an exception, what do we do with it and why
-custom error handling classes
Code Formatting: how can we better format the code
Test-Driven Design: Open discussion of Uncle Bob's idea that programs should be TDD
Hai bisogno di un coach per la formazione?
Ti aiuterà a confrontare vari corsi e trovare l'offerta formativa più conveniente.
Clean Code
