PPL 2021 — Clean Code — Keep your code cleaned and readable!

Photo by Sarah Dorweiler on Unsplash
Illustration for low coupling, Source: Geeksforgeeks
High cohesion illustration. Source:https://ducmanhphan.github.io/2019-03-23-Coupling-and-Cohension-in-OOP/
#discouraged
a = 10
#encouraged
initial_land_area = 10
#Class Nameclass ThisIsClass():#function namedef this_is_a_function():#variable namethis_is_variable = 1
def a(int b): #function for printing final land value
print(b + 10) #land value + increment
--------------------------------------------------------------def final_land_value(int initial_land_value)
computed_land_value = initial_land_value + 10
print(computed_land_value)

--

--

--

Under-graduated Students Majoring in Computer Science

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

[Devlog #1]Building a mmo game with Unity and C#

Getting started with algorithm…

How to root Cubot X15

Root LG Phone

The full-stack developer explained using cavemen

Data wrangling project with Python

Qubicles Telos-based project is hiring

How to lead a bug review meeting

Python-Input, sort, nested lists, loop

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Fredy Pasaud

Fredy Pasaud

Under-graduated Students Majoring in Computer Science

More from Medium

In Defence Of Lazy Code Documentation

Names in code. The basic guidelines.

Why the Dinosaurs will be extinct in next decade….

How To Write Clean Code? PART 5/6