- 𝘋𝘪𝘳𝘬 ( @Dirk@lemmy.ml ) 14•1 year ago
Just containerize the dev environment and ship that to the customer.
- TheHalc ( @TheHalc@sopuli.xyz ) 13•1 year ago
Just make sure to add comments like
//Magic, do not touch
To make sure no-one accidentally breaks the spell.
- 𝘋𝘪𝘳𝘬 ( @Dirk@lemmy.ml ) 7•1 year ago
// Do not delete! Yes, it's not used anywhere in the code, but if it is removed // the application crashes and the error code is useless for debugging. let f = 'a';
- echo ( @echo@lemmy.ml ) 4•1 year ago
If you even know which line of random bullshit you changed that made it work, that is
- MyNameIsRichard ( @MyNameIsRichard@lemmy.ml ) 9•1 year ago
I solved one of these once upon a time.
There was a function that wasn’t called from anywhere in the project which if deleted caused the whole system to fail in test and (presumably) production at runtime. It turned out to be scripts for a cron job that were only on the servers. I moved them in to the project and thus version control. Mystery solved.
- fckreddit ( @fckreddit@lemmy.ml ) 6•1 year ago
I know why it works. Because it was copied from stack overflow…
@fckreddit
Haha yeah so some other random dude made it work 😄
- StudioLE ( @StudioLE@programming.dev ) 5•1 year ago
The answer is usually that I’ve pushed to the dev environment but I’m looking at staging.
- VicFic! ( @vicfic@iusearchlinux.fyi ) 5•1 year ago
Well you can’t call the code generated by chat gpt as YOURS.
- AstralWeekends ( @AstralWeekends@lemm.ee ) 1•1 year ago
The way I see, if chatgpt can steal our art, then we can steal its science.
Going back to the most famous code comment in Unix history
You are not expected to understand this
.@sin_free_for_00_days or “# The code is documentation enough”
- terrorismchord ( @terrorismchord@beehaw.org ) 1•10 months ago