SlideShare a Scribd company logo
1 of 27
Download to read offline
Ethic Clean - Cover
Chi sono
●
Nicola Pedot,
– artigiano sviluppatore informatico
– cofondatore coordinatore JvmUGTAAS, SoCraTeN
●
Informatelier.it
Istruzioni x l’uso slide
●
CHI: Per sviluppatori software italiani
– (che mescolano l’inglese).
●
COSA: Argomenti di confronto.
●
DOVE: Riferimenti sparsi o contattatemi
per domande e dettagli.
●
QUANDO: Applicabile da subito.
●
PERCHE’: Per motivi intriseci.
Licenza
Ethic Clean - Start
Parliamo di: etica
Wikipedia
●
L'etica è una branca della filosofia che studia i
fondamenti razionali che permettono di assegnare
ai comportamenti umani uno status deontologico,
ovvero distinguerli in buoni, giusti, leciti, rispetto
ai comportamenti ritenuti ingiusti, illeciti,
sconvenienti o cattivi secondo un ideale modello
comportamentale.
–
–
Casi d’uso
1) Debito tecnico
2) Motivazione intrinseca
3) Impatto sociale
Debito tecnico
“Come mai partiamo bene finamo male?”
Responsability
●
We software developers have
accumulated a massive amount of
influence within a comparatively short
time. But we have had only that same
short time to face the responsibility
evolving from this influence.
– Nils Löwe
– https://www.infoq.com/articles/Responsible-
Software-Development/
Robert Cecil Martin
Software Craftsmanship
●
Not only working software,
but also well-crafted software
●
Not only responding to change,
but also steadily adding value
●
Not only individuals and interactions,
but also a community of professionals
●
Not only customer collaboration,
but also productive partnerships
– https://manifesto.softwarecraftsmanship.org/
Why Clean Code: 1,2
●
7 reasons clean code matters
– https://www.pluralsight.com/blog/software-
development/7-reasons-clean-code-matters
1. writing as a profession, code likely to be read
10 or more times by humans during its lifetime.
2. Professional developers write so much code
that after a few weeks of separation, most the
structure and design decisions fall out of
memory.
Why Clean Code: 3,4,5
3. refactoring, unit testing and TDD
elevate code quality and maintainability.
4. It requires a deliberate and regular
focus on clearly conveying intent.
5. It also fosters level-headed
conversations in code reviews by
establishing a common vocabulary and
framework for discussing code readability.
Why Clean Code: 6,7
6. Technical debt can be useful when
carefully considered in context, excessive
technical debt is depressing.
7. Larry Wall, author of the PERL
programming language said the three
great virtues of a programmer are
laziness, impatience and hubris.
http://threevirtues.com/
Programmer’s Oath
Giuramento 1,2,3,4
In order to defend and preserve the honor of the profession of
computer programmers,
I Promise that, to the best of my ability and judgement:
1) I will not produce harmful code.
2) The code that I produce will always be my best work. I will not
knowingly allow code that is defective either in behavior or
structure to accumulate.
3) I will produce, with each release, a quick, sure, and repeatable
proof that every element of the code works as it should.
4) I will make frequent, small, releases so that I do not impede the
progress of others.
http://blog.cleancoder.com/uncle-bob/2015/11/18/TheProgrammersOath.html
Giuramento 5,6,7,8,9
5) I will fearlessly and relentlessly improve my creations at every
opportunity. I will never degrade them.
6) I will do all that I can to keep the productivity of myself, and others,
as high as possible. I will do nothing that decreases that productivity.
7) I will continuously ensure that others can cover for me, and that I
can cover for them
8) I will produce estimates that are honest both in magnitude and
precision. I will not make promises without certainty.
9) I will never stop learning and improving my craft.
http://blog.cleancoder.com/uncle-bob/2015/11/18/
TheProgrammersOath.html
Motivazione intrinseca
“Cosa ci muove?”
Vizi (e virtù)1. Superbia:
radicata convinzione della propria superiorità, reale o presunta, che si traduce in atteggiamento di altezzoso
distacco o anche di ostentato disprezzo verso gli altri, nonché di disprezzo di norme, leggi, rispetto altrui;
2. Avarizia:
derivante più precisamente dall'etimologia latina avaritia, collegata all'avidità della fame: cupidigia, avidità,
costante senso di insoddisfazione per ciò che si ha già e bisogno sfrenato di ottenere sempre di più;
3. Lussuria:
incontrollata sensualità, irrefrenabile desiderio del piacere sessuale fine a se stesso, concupiscenza, carnalità,
eccessivo attaccamento ai beni terreni ed eccessiva renitenza nel separarsi da essi;
4. Invidia:
tristezza per il bene altrui percepito come male proprio;
5. Gola:
meglio conosciuta come ingordigia non è solo il mero abbandono ed esagerazione nei piaceri della tavola o la
perdita totale del senso della misura e quindi della capacità di provare piacere reale per ciò che si sta gustando
ma anche l'ingordigia nella sua accezione più pura. È descrivibile come l'insaziabilità su tutti i piani, quindi sia
materiale che spirituale;
6. Ira:
alterazione dello stato emotivo che manifesta in modo violento un'avversione profonda e vendicativa verso
qualcosa o qualcuno;
7. Accidia:
torpore malinconico, inerzia nel vivere e nel compiere opere di bene, pigrizia, indolenza, infingardaggine,
svogliatezza, abulia.
Happy Money: How much?
180 Cognitive Bias
Rito dell’abitudine
(Habit loop) - Wikipedia
●
Il concetto spiega come molte delle
abitudini, sia umane, sia animali, non
siano sempre spontanee, ma vengano in
modo automatico, quasi inconsciamente.
Motivazione intrinseca
●
Daniel Pink’s concept of intrinsic
motivation: we’re driven by Autonomy
(the urge to direct one’s life), Mastery
(the desire to get better at something
that matters), and Purpose (the yearning
to do work in the service of something
larger than one’s self).
– Drive: The Surprising Truth About What Motivates Us
– https://www.youtube.com/watch?v=y1SDV8nxypE
Yuval Noah Harari
●
Sfida del futuro: Inutilità Umana
Ethic Clean - End
Conclusioni
●
Etica aiuta a migliorarci
– Modello razionale: disciplina, abitudine
– Motivazione intrinseca
Ethic clean

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Ethic clean

  • 2. Chi sono ● Nicola Pedot, – artigiano sviluppatore informatico – cofondatore coordinatore JvmUGTAAS, SoCraTeN ● Informatelier.it
  • 3. Istruzioni x l’uso slide ● CHI: Per sviluppatori software italiani – (che mescolano l’inglese). ● COSA: Argomenti di confronto. ● DOVE: Riferimenti sparsi o contattatemi per domande e dettagli. ● QUANDO: Applicabile da subito. ● PERCHE’: Per motivi intriseci.
  • 6. Parliamo di: etica Wikipedia ● L'etica è una branca della filosofia che studia i fondamenti razionali che permettono di assegnare ai comportamenti umani uno status deontologico, ovvero distinguerli in buoni, giusti, leciti, rispetto ai comportamenti ritenuti ingiusti, illeciti, sconvenienti o cattivi secondo un ideale modello comportamentale. – –
  • 7. Casi d’uso 1) Debito tecnico 2) Motivazione intrinseca 3) Impatto sociale
  • 8. Debito tecnico “Come mai partiamo bene finamo male?”
  • 9. Responsability ● We software developers have accumulated a massive amount of influence within a comparatively short time. But we have had only that same short time to face the responsibility evolving from this influence. – Nils Löwe – https://www.infoq.com/articles/Responsible- Software-Development/
  • 11. Software Craftsmanship ● Not only working software, but also well-crafted software ● Not only responding to change, but also steadily adding value ● Not only individuals and interactions, but also a community of professionals ● Not only customer collaboration, but also productive partnerships – https://manifesto.softwarecraftsmanship.org/
  • 12. Why Clean Code: 1,2 ● 7 reasons clean code matters – https://www.pluralsight.com/blog/software- development/7-reasons-clean-code-matters 1. writing as a profession, code likely to be read 10 or more times by humans during its lifetime. 2. Professional developers write so much code that after a few weeks of separation, most the structure and design decisions fall out of memory.
  • 13. Why Clean Code: 3,4,5 3. refactoring, unit testing and TDD elevate code quality and maintainability. 4. It requires a deliberate and regular focus on clearly conveying intent. 5. It also fosters level-headed conversations in code reviews by establishing a common vocabulary and framework for discussing code readability.
  • 14. Why Clean Code: 6,7 6. Technical debt can be useful when carefully considered in context, excessive technical debt is depressing. 7. Larry Wall, author of the PERL programming language said the three great virtues of a programmer are laziness, impatience and hubris. http://threevirtues.com/
  • 16. Giuramento 1,2,3,4 In order to defend and preserve the honor of the profession of computer programmers, I Promise that, to the best of my ability and judgement: 1) I will not produce harmful code. 2) The code that I produce will always be my best work. I will not knowingly allow code that is defective either in behavior or structure to accumulate. 3) I will produce, with each release, a quick, sure, and repeatable proof that every element of the code works as it should. 4) I will make frequent, small, releases so that I do not impede the progress of others. http://blog.cleancoder.com/uncle-bob/2015/11/18/TheProgrammersOath.html
  • 17. Giuramento 5,6,7,8,9 5) I will fearlessly and relentlessly improve my creations at every opportunity. I will never degrade them. 6) I will do all that I can to keep the productivity of myself, and others, as high as possible. I will do nothing that decreases that productivity. 7) I will continuously ensure that others can cover for me, and that I can cover for them 8) I will produce estimates that are honest both in magnitude and precision. I will not make promises without certainty. 9) I will never stop learning and improving my craft. http://blog.cleancoder.com/uncle-bob/2015/11/18/ TheProgrammersOath.html
  • 19. Vizi (e virtù)1. Superbia: radicata convinzione della propria superiorità, reale o presunta, che si traduce in atteggiamento di altezzoso distacco o anche di ostentato disprezzo verso gli altri, nonché di disprezzo di norme, leggi, rispetto altrui; 2. Avarizia: derivante più precisamente dall'etimologia latina avaritia, collegata all'avidità della fame: cupidigia, avidità, costante senso di insoddisfazione per ciò che si ha già e bisogno sfrenato di ottenere sempre di più; 3. Lussuria: incontrollata sensualità, irrefrenabile desiderio del piacere sessuale fine a se stesso, concupiscenza, carnalità, eccessivo attaccamento ai beni terreni ed eccessiva renitenza nel separarsi da essi; 4. Invidia: tristezza per il bene altrui percepito come male proprio; 5. Gola: meglio conosciuta come ingordigia non è solo il mero abbandono ed esagerazione nei piaceri della tavola o la perdita totale del senso della misura e quindi della capacità di provare piacere reale per ciò che si sta gustando ma anche l'ingordigia nella sua accezione più pura. È descrivibile come l'insaziabilità su tutti i piani, quindi sia materiale che spirituale; 6. Ira: alterazione dello stato emotivo che manifesta in modo violento un'avversione profonda e vendicativa verso qualcosa o qualcuno; 7. Accidia: torpore malinconico, inerzia nel vivere e nel compiere opere di bene, pigrizia, indolenza, infingardaggine, svogliatezza, abulia.
  • 22. Rito dell’abitudine (Habit loop) - Wikipedia ● Il concetto spiega come molte delle abitudini, sia umane, sia animali, non siano sempre spontanee, ma vengano in modo automatico, quasi inconsciamente.
  • 23. Motivazione intrinseca ● Daniel Pink’s concept of intrinsic motivation: we’re driven by Autonomy (the urge to direct one’s life), Mastery (the desire to get better at something that matters), and Purpose (the yearning to do work in the service of something larger than one’s self). – Drive: The Surprising Truth About What Motivates Us – https://www.youtube.com/watch?v=y1SDV8nxypE
  • 24. Yuval Noah Harari ● Sfida del futuro: Inutilità Umana
  • 26. Conclusioni ● Etica aiuta a migliorarci – Modello razionale: disciplina, abitudine – Motivazione intrinseca