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 I'll often inline every 'helper function' I find while coding.

@rfleury I'll often inline every 'helper function' I find while coding.

Properties5
typearchive
sourcetwitter
date2026-06-02
tagsarchive, twitter, rfleury
description@rfleury I'll often inline every 'helper function' I find while coding.

Jun 02, 20261 min read

  • archive
  • twitter
  • rfleury

Source

  • URL: https://x.com/Ravicale/status/2061912906921304345
  • Author: Ravicale (@Ravicale)
  • Posted: 2026-06-02 20:48:40

Branch

1/ @Ravicale

@rfleury

I’ll often inline every ‘helper function’ I find while coding. This frequently lets me find more general patterns that can be more compactly expressed, and it also often results in me finding removable state that existed because of coupling between ‘helpers’.

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