Remix.run Logo
fnands 4 days ago

A friend of mine is working for a small-ish startup (11 people) and he gets to work and sees the CTO push 10k loc changes straight to main at 3 am.

Probs fine when you are still in the exploration phase of a startup, scary once you get to some kind of stability

ryandrake 4 days ago | parent | next [-]

I feel like this becomes kind of unacceptable as soon as you take on your first developer employee. 10K LOC changes from the CTO is fine when it's only the CTO working on the project.

Hell, for my hobby projects, I try to keep individual commits under 50-100 lines of code.

bonesss 4 days ago | parent [-]

Templates and templating languages are still a thing. Source generators are a thing. Languages that support macros exist. Metaprogramming is always an option. Systems that write systems…

If these AIs are so smart, why the giant LOCs?

Sure, it’s cheaper today than yesterday to write out boilerplate, but programming is about eliminating boilerplate and using more powerful abstractions. It’s easy to save time doing lots of repetitive nonsense, stopping the nonsense should be the point.

peab 4 days ago | parent | prev | next [-]

Lol I worked at a startup where the CTO did this. The problem was that it was pure spaghetti code. It was so bad it kept me up at night, thinking about how to fix things. I left within 30 days

coffeebeqn 4 days ago | parent | prev | next [-]

I worked with a “CTO” who did that before LLMs - one of the worst jobs I have had in the last 10 years. I spent at least 50% of my time putting out fires or refactoring his garbage code

tossandthrow 4 days ago | parent | prev | next [-]

The cto is ultimately responsible for the outcome and will be there at 4am to fix stuff.

pjc50 4 days ago | parent [-]

Yes .. and no. Someone who does this will definitely make the staff clean up after them.

jimbohn 4 days ago | parent | prev | next [-]

I'd go mental if I was a SWE having to mop that up later

titzer 4 days ago | parent | prev [-]

That's...idiotic.

jennyholzer2 4 days ago | parent [-]

[flagged]

titzer 4 days ago | parent | next [-]

I mean, I've vibe-coded a few useful single-file HTML tools, but checking in 10kloc at 3am into the production database...by the CTO...omg.

204957065897 4 days ago | parent | prev [-]

[flagged]

jennyholzer2 4 days ago | parent [-]

[flagged]