DevTrends开发者趋势
主题色

alfredjeanlab /

ripcloc

Hey HN. ripcloc exists because I ask agents to consider line cost in feedback early and often when they're doing work to help constrain unnecessary complexity and to trigger discussions about code smells that lead t…

DT软件开发DTAgent 能力扩展DTAgent 运行时

关于

Hey HN. ripcloc exists because I ask agents to consider line cost in feedback early and often when they're doing work to help constrain unnecessary complexity and to trigger discussions about code smells that lead to bad architecture. It is fast enough that you can add it to a git commit hook. It is fast enough that your agent harness can run it after every tool call. The other reason it exists is to help _count your tests_. Ripcloc attributes each line as either a source line, a test line or a comment/doc line, so that you can have a better idea quickly how much your codebase is _implementation_ vs _tests_. It does this even for inline tests like `#[cfg(test)] mod tests { ... }` in Rust (and is still faster than its predecessors!).

收录记录

  1. Show HN

    2026年11月22日 · 1 次收录

讨论这个产品