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 Can't tell just how many times I've pulled out something into it's own function only to use it once.

@rfleury Can't tell just how many times I've pulled out something into it's own function only to use it once.

Properties5
typearchive
sourcetwitter
date2026-06-02
tagsarchive, twitter, rfleury
description@rfleury Can't tell just how many times I've pulled out something into it's own function only to use it once.

Jun 02, 20261 min read

  • archive
  • twitter
  • rfleury

Source

  • URL: https://x.com/pegvvin/status/2061783632067633224
  • Author: Aditya M. (@pegvvin)
  • Posted: 2026-06-02 12:14:58

Branch

1/ @pegvvin

@rfleury

Can’t tell just how many times I’ve pulled out something into it’s own function only to use it once. I was taught “clean code” incorrectly.

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