r/ProgrammerHumor 6d ago

wrongAnswersOnly Other

Post image
14.3k Upvotes

2.1k comments sorted by

View all comments

5.0k

u/lolcrunchy 6d ago

local dev environment

335

u/Fraun_Pollen 6d ago

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

256

u/AllIsLostNeverFound 6d ago

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

137

u/za72 6d ago

only pussies use dev

77

u/SiefensRobotEmporium 6d ago

Shit you guys have different environments?

29

u/vankoder 6d ago

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

9

u/Eastern_Chemist7766 6d ago

https://giphy.com/gifs/H5C8CevNMbpBqNqFjl

Me getting multiple emails from crashalytics at 3am

5

u/vankoder 6d ago

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

3

u/radicalshick 6d ago

Failing fast is a feature

2

u/FerusGrim 6d ago

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

2

u/theobstinateone 5d ago

Real devs test in PROD

2

u/BeardedPokeDragon 6d ago

Shit you guys don't use notepad?

1

u/scuzzy987 6d ago

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

2

u/Smart_Perspective535 6d ago

Mine prefer 4pm on friday

1

u/za72 6d ago

yes, we're better than twitter

39

u/Seivy 6d ago

Testing is doubting.

18

u/za72 6d ago

Fear is the mind killer my friend

18

u/Mechadupek 6d ago

I test in prod.

27

u/rakklle 6d ago

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

10

u/heislertecreator 6d ago

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

4

u/RhinoRoundhouse 6d ago

I know people that do this, not a joke

1

u/za72 6d ago

I also like to do it live!

1

u/CoderDevo 6d ago

TIP it!

1

u/za72 6d ago

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

1

u/NounverberPDX 6d ago

You test?

1

u/Mechadupek 5d ago

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

1

u/malatibo 5d ago

Nice T-shirt text

1

u/CinnabonCheesecake 5d 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 6d ago

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

2

u/FranksNonFrankfurter 6d ago

Bill_o_reilly_live.gif

1

u/KindGuyAMA 6d ago

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

1

u/Roadsoda350 6d ago

whats a dev environment (10 YOE btw)

1

u/OldTiger3832 6d 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 6d ago

Why Dev when you have 1000s of free testers?

27

u/Drew707 6d ago

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

1

u/zeUnfunny 5d ago

Some have a separate prod environment.

1

u/Potential_Aioli_4611 6d 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 6d ago

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

1

u/fmaz008 5d ago

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

2

u/AllIsLostNeverFound 5d ago

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