---
title: "Discussion on \"The Case Against Character Count Line Limits\" | Hashnode"
description: "Discussion on \"The Case Against Character Count Line Limits\". I recently had a discussion with a colleague about whether we should introduce a character count limit per line into our style guide. He believes it enhances readability, while I argue that readabilit"
url: "https://hashnode.com/posts/character-line-limits/67051e8919085e318c20a9fb"
---

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

Discussion

# [The Case Against Character Count Line Limits](https://blog.lohr.dev/character-line-limits?utm_source=hashnode&utm_medium=feed)

I recently had a discussion with a colleague about whether we should introduce a character count limit per line into our style guide. He believes it enhances readability, while I argue that readabilit

Oct 8, 2024 · 9 min read · blog.lohr.dev  
Updated Oct 3  
Read the article

-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#coding](https://hashnode.com/tag/coding)
-   [#writing](https://hashnode.com/tag/writing)
-   [#opensource](https://hashnode.com/tag/opensource)

## Written by

[Michael Lohr](https://hashnode.com/@michidk)

@michidk · Bavaria, Germany

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

Because a Great Idea Is Never Enough

Passionate about software development and architecture, web and cloud technologies, as well as game development.

## Responses 1

Markdown supported · ⌘↵ to post

[Michael J. Ryan](https://hashnode.com/@tracker1)

[Apr 2, 2025](https://hashnode.com/posts/character-line-limits/67051e8919085e318c20a9fb/comment/67edab4517c721276f186e19)

I'll give you one reason for line length limits... being able to intercept potentially dangerous/viral code injection.

If you limit your line length to something most devs can view (120-150 chars), then the risk of someone injecting viral code into a project outside what is visible on a line is significantly reduced.

I'm not hard pressed on line lengths of 80 characters or so, I just feel that you should have a relatively reasonable limit so you can better detect the bad stuff.
