guitarvydas
02/20/2026, 2:05 PMProgrammers spend enormous mental energy making their code DRY — Don’t Repeat Yourself. …
Instead of forcing programmers to DRY up their code preemptively — collapsing it into parameterized abstractions before they even understand the variation — what if we used LLMs after the fact, as consistency checkers?DRY is Overrated https://open.substack.com/pub/programmingsimplicity/p/dry-is-overrated?r=1egdky&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true
Pushkar
02/20/2026, 3:21 PMKartik Agaram
wtaysom
02/20/2026, 4:02 PMKartik Agaram
guitarvydas
02/22/2026, 3:56 AMBenji Rappoport
02/23/2026, 7:52 PMguitarvydas
02/23/2026, 8:31 PM.replace(…) attitude and I use multiple stages, so that I can focus on doing only one thing at a time. I once converted a big Pascal program to K&R C using VI and regex replacements only. I just kept nipping away at the file - eyeballing the partially transmogrified code and getting inspiration on what to replace next. I think of OhmJS as a super-regex (I mean to say ‘t2t’, which is OhmJS plus a tiny rewriter DSL that bolts onto OhmJS). As I see it, buffing code is already (overly?) well handled, so all I need to do is convert what I want to say into some already-existing language, then let it do all of the buffing and optimization. My recent foray into the guts of Forth Haiku shows that it does both - it produces mediocre code very, very easily, then rewrites it with an optimizer - it was all done in Javascript, so it can’t be all that hard 🙂. 2 lines of forth-like code produces 400 lines (iirc) of Javascript which then gets rewritten as GLSL and produces pretty pictures on my monitor. (I can point to my YouTubes that attempt to explain the first part (thus far)).
aside: literally at this moment, I’m looking at a pipeline (10 ultra simple passes) that converts a really, really ugly lump of XML into 13 lines of less-ugly code. (The XML is a drawing saved out as graphML, the 13 lines is an intermediate form which I intend to convert to JSON and interpret/compile into running code).Benji Rappoport
02/23/2026, 11:06 PMJeffrey Tao
02/24/2026, 8:48 PM