---
title: "Discussion on \"Why I built codesize: enforcing function length limits with an AST\" | Hashnode"
description: "Discussion on \"Why I built codesize: enforcing function length limits with an AST\". Every team I have worked on had some version of the rule: \"keep functions short.\" It shows up in style guides, code review comments, and onboarding docs. It almost never shows up in CI.\nWhen it does get automated, the tooling usually reaches for wc -..."
url: "https://hashnode.com/posts/why-i-built-codesize-enforcing-function-length-limits-with-an-ast/69b5bfa6d2e23b28129abbb5"
---

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

Discussion

# [Why I built codesize: enforcing function length limits with an AST](https://chrisgve.hashnode.dev/why-i-built-codesize-enforcing-function-length-limits-with-an-ast?utm_source=hashnode&utm_medium=feed)

Every team I have worked on had some version of the rule: "keep functions short." It shows up in style guides, code review comments, and onboarding docs. It almost never shows up in CI. When it does get automated, the tooling usually reaches for wc -...

Mar 14 · 4 min read · chrisgve.hashnode.dev  
Read the article

-   [#automation](https://hashnode.com/tag/automation)
-   [#codequality](https://hashnode.com/tag/codequality)
-   [#showdev](https://hashnode.com/tag/showdev)
-   [#tooling](https://hashnode.com/tag/tooling)

## Written by

[Christian C. Berclaz](https://hashnode.com/@chrisgve)

@chrisgve · Chamoson, Swtizerland

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

Chris — Gloriously Over-Engineered

Hacker aficionado with too many hobbies to list...

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
