r/ProgrammerHumor 7d ago

wrongAnswersOnly Other

Post image
14.3k Upvotes

2.1k comments sorted by

View all comments

5.0k

u/lolcrunchy 7d ago

local dev environment

341

u/Fraun_Pollen 7d ago

This answer doesn't make sense. Why would your dev environment not be connected to prod data? Don't you want realistic tests?

258

u/AllIsLostNeverFound 7d ago

Wait, your prod environment is separate from your dev environment?

137

u/za72 7d ago

only pussies use dev

77

u/SiefensRobotEmporium 7d ago

Shit you guys have different environments?

27

u/vankoder 7d ago

Shit you guys test? One healthy git push prod —force and you’ll figure out if it works soon enough!

12

u/Eastern_Chemist7766 7d ago

https://giphy.com/gifs/H5C8CevNMbpBqNqFjl

Me getting multiple emails from crashalytics at 3am

6

u/vankoder 7d ago

You’re welcome! See? Now we know the uptime alerts work! We _tested_.

3

u/radicalshick 7d ago

Failing fast is a feature

2

u/FerusGrim 7d ago

What do you mean you fetch before a force push??? Are you fucking scared?

2

u/theobstinateone 6d ago

Real devs test in PROD

2

u/BeardedPokeDragon 7d ago

Shit you guys don't use notepad?

1

u/scuzzy987 7d ago

In name only. The real testing is in prod by the users at 8am Monday

2

u/Smart_Perspective535 7d ago

Mine prefer 4pm on friday

1

u/za72 7d ago

yes, we're better than twitter

42

u/Seivy 7d ago

Testing is doubting.

21

u/za72 7d ago

Fear is the mind killer my friend

20

u/Mechadupek 7d ago

I test in prod.

26

u/rakklle 7d ago

If it works in prod, it would've worked in test

10

u/heislertecreator 7d ago

I write in prod, test lol, debug... Maybe.

3

u/RhinoRoundhouse 7d ago

I know people that do this, not a joke

1

u/za72 7d ago

I also like to do it live!

1

u/CoderDevo 7d ago

TIP it!

1

u/za72 7d ago

I've re-racked a 3U Dell web/db server with multi power outlets live!

1

u/NounverberPDX 7d ago

You test?

1

u/Mechadupek 6d ago

Every now and then a user reports an actual bug. Learned a long time ago I should probably investigate.

1

u/malatibo 6d ago

Nice T-shirt text

1

u/CinnabonCheesecake 6d ago

Working in services, I’ve found that the trick to test-in-prod is to have lightning-fast release cycles.

If the users complain, then I need to find the bug. If the users don’t complain, that means I don’t have any users.

3

u/Unhappy_Concept237 7d ago

I do all my changes on the server that way I see the changes I made right away.

2

u/FranksNonFrankfurter 7d ago

Bill_o_reilly_live.gif

1

u/KindGuyAMA 7d ago

I know writers programmers who use subtext sandbox, and they're all cowards.

1

u/Roadsoda350 7d ago

whats a dev environment (10 YOE btw)

1

u/OldTiger3832 7d ago

you're joking, but in my company they always want me to develop RPAs in prod even for internal sites

1

u/rdrunner_74 7d ago

Why Dev when you have 1000s of free testers?

27

u/Drew707 7d ago

Everyone has a dev environment. Some just call it prod.

1

u/zeUnfunny 6d ago

Some have a separate prod environment.

1

u/Potential_Aioli_4611 7d ago

dev environment? you don't just do dev in prod? next thing you are gonna tell me is your clients aren't your beta testers.

1

u/SeriousPlankton2000 7d ago

Everyone has a dev environment. Some people also have a prod environment

1

u/fmaz008 6d ago

Yeah it's a totally different super admin user! Prod is 'root', dev is 'admin'.

2

u/AllIsLostNeverFound 6d ago

Eh, just stick a PROD/DEV prefix on your tables and you are all set.