lexoj
544 posts



Very often I want to temporarily disable a piece of code. I comment it out, but then I'm faced with a problem that since the code is never compiled it gets "stale". Some functions it uses may have changed and it is never type checked. So the next time I enable it, it doesn't compile and I spent a lot of time fixing it. The solution I came up with so far is to "comment out" the code with the runtime `if (0)`. The code will never be executed, the optimizer will very like eliminate the code entirely, but before doing so the compiler will type check it, and will force me to fix it on the spot.




photoai.com is a 40,870 line file called index.php $105,000/mo revenue $80,000/mo profit





Walking around the @browser_use hackathon and literally everyone is running @mitchellh’s ghostty and Claude Code. Not an IDE in sight

























