---
title: "Discussion on \"Observing DRY principles with wrapper functions\" | Hashnode"
description: "Discussion on \"Observing DRY principles with wrapper functions\". Write once and minimise repetitive code with wrappers.\nSay you have a bunch of functions in your codebase and you want to print out logs whenever a function is run. If you only have a couple of functions, it probably wouldn’t hurt to do something lik..."
url: "https://hashnode.com/posts/observing-dry-principles-with-wrapper-functions/650f513f4e3a0398dd3aa7db"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Observing DRY principles with wrapper functions](https://half-stack-full.hashnode.dev/observing-dry-principles-with-wrapper-functions?utm_source=hashnode&utm_medium=feed)

Write once and minimise repetitive code with wrappers. Say you have a bunch of functions in your codebase and you want to print out logs whenever a function is run. If you only have a couple of functions, it probably wouldn’t hurt to do something lik...

Mar 6, 2023 · 5 min read · half-stack-full.hashnode.dev  
Updated Nov 30, 2024  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#wrapper-functions](https://hashnode.com/tag/wrapper-functions)

## Written by

[North Winds](https://hashnode.com/@northwinds)

@northwinds

  
[View profile](https://hashnode.com/@northwinds)

software, space, and other tech-y, science-y stuff

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
