Skip to content

Commit

Permalink
Include no moddileman figure #29
Browse files Browse the repository at this point in the history
  • Loading branch information
pintergreg committed Nov 3, 2024
1 parent 6b557ce commit 3742275
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lectures/13_code_quality.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,17 @@ if not (

## class-based smells: refused bequest

:::::::::::: {.columns}
::::::::: {.column width="70%" .mt-5}
> If you inherit from a class, but never use any of the inherited functionality, should you really be using inheritance? [@atwood2006code]
:::::::::
::::::::: {.column width="30%"}
![](figures/no_middleman.drawio.svg){width=250}

:::::::::
::::::::::::


## class-based smells: indecent exposure

Expand Down
4 changes: 4 additions & 0 deletions lectures/figures/no_middleman.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3742275

Please sign in to comment.