Threadwell

Recent Notes

  • Threads

    Aug 25, 2026

    • archive
  • mike_acton

    Aug 25, 2026

    • archive
    • twitter
    • mike_acton
  • NOTimothyLottes

    Aug 25, 2026

    • archive
    • twitter
    • notimothylottes
Home

❯

Archive

❯

Threads

❯

rfleury

❯

The first way people usually learn code compression is by pulling common things out into helper functions, but in my view the complexity of adding a new entry point is often overlooked, and things quickly turn into a mess.

❯

@rfleury yes! A similar problem comes when you follow retarded bob martin-esque rules like not exceeding 6 lines per function.

@rfleury yes! A similar problem comes when you follow retarded bob martin-esque rules like not exceeding 6 lines per function.

Properties5
typearchive
sourcetwitter
date2026-06-02
tagsarchive, twitter, rfleury
description@rfleury yes! A similar problem comes when you follow retarded bob martin-esque rules like not exceeding 6 lines per function.

Jun 02, 20261 min read

  • archive
  • twitter
  • rfleury

Source

  • URL: https://x.com/AlexAegis/status/2061831568537071703
  • Author: Sandor 🦔 (@AlexAegis)
  • Posted: 2026-06-02 15:25:27

Branch

1/ @AlexAegis

@rfleury

yes! A similar problem comes when you follow retarded bob martin-esque rules like not exceeding 6 lines per function. You can end up having a bunch of small functions mutating one common state that are now dependent on their call order. That’s not any better than a comment.

Related

  • Spine: 2026-06-02-the-first-way-people-usually-learn-code

Graph View

  • Source
  • Branch
  • Related

Backlinks

  • The first way people usually learn code compression is by pulling common things out into helper functions, but in my view the complexity of adding a new entry point is often overlooked, and things quickly turn into a mess.

Created with Quartz v5.0.0 © 2026

  • GitHub