0% found this document useful (0 votes)
58 views17 pages

Small Talk On Clean Code Principles

The document outlines a meeting agenda focused on clean code principles, including the importance of writing code that is understandable by humans. It emphasizes the need for clear naming conventions and provides examples of improving code readability. Additionally, it lists resources for further learning on clean coding practices.

Uploaded by

Jacob Abraham
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views17 pages

Small Talk On Clean Code Principles

The document outlines a meeting agenda focused on clean code principles, including the importance of writing code that is understandable by humans. It emphasizes the need for clear naming conventions and provides examples of improving code readability. Additionally, it lists resources for further learning on clean coding practices.

Uploaded by

Jacob Abraham
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Small Talk on

clean code principles


Agenda of the meet:

➔ My intro
➔ Why do we need clean code ?
➔ Exploring CC with an example
➔ Resources
➔ Queries
● My Intro
● Why do we need clean code ?
"Any fool can write code that a computer can understand.
Good programmers write code that humans can
understand."
– Martin Fowler
Exploring Clean Code with an example
Sample
code
An
attempt
to
make it
cleaner
Let’s make functions !
SwitchOn Vs IsSwitchOn

SwitchOn = true

There can be two possible questions

1. switch needs to be switched On


2. The switch is already On

IsSwitchOn = True

How many meanings does this convey ?

→ Name booleans in question format.


Changing boolean variable FLAG
Let’s make functions -2
Resources
Clean Code by Robert Cecil Martin

The Art of Readable Code by Dustin Boswell and Trevor Foucher

You might also like