clean-code-course-code icon indicating copy to clipboard operation
clean-code-course-code copied to clipboard

Code and attachments for our clean code course (https://acad.link/clean-code)

Results 10 clean-code-course-code issues
Sort by recently updated
recently updated
newest added

cleaned the code by adding more functions , using the guards method and also reduction in the number of if/ else if statements used.

I used one argument , to a function that needs multiple pieces of data.

The variable name bottom_left in the provided code is misleading. Based on the calculation (self.origin.y + self.height), it actually refers to the y-coordinate of the top-left corner, not the bottom-left...

corrected naming in calling method from .getArea() .get_area()