data
3 posts tagged data.
Stephen Collins
TypeScript produces less exit-heavy code than Go or Python — and more branching
exit_heavy averages 5.3 in non-TypeScript repos and 4.5 in TypeScript. complex_branching has the highest max-out rate of any pattern in TS. The flip is structural, not stylistic — and it changes which refactoring techniques help.
Apr 17, 2026 Read →
Stephen Collins
Hub functions are a frontend framework problem — here's the data
hub_function barely appears in Go, Rust, or Python repos. In TypeScript UI framework code it's concentrated in coordinator functions with fan-out values of 37–112. Here's why.
Apr 17, 2026 Read →
Stephen Collins
Five structural patterns appear in nearly every TypeScript OSS repo I've analysed
Five structural patterns — god_function, long_function, exit_heavy, complex_branching, deeply_nested — appear in 86–100% of the 28 TypeScript OSS repos I've analysed. Here's what the data shows.
Apr 17, 2026 Read →
Other Tags
aiai-generated-codebenchmarkscallgraphciclicode-generationcode-healthcomplexitycvedefect-predictiondeveloper-toolsdxeditorialembeddingsengineeringgithotspotshotspots-scorellmmachine-learningmechanistic-interpretabilitymethodologymissionmlmonoreponextjsparsingperformancepostmortemquality-gatesrefactoringreleaserelease-notesresearchsecurityspecswe-benchtech-debttechnical-debttesting all →