4 ms·
How are the developers supposed to debug things if they can't see the real data? Prod environments gets problems that never ever crops up in dev environments b
by progre 4y ago
How are the developers supposed to debug things if they can't see the real data?
Prod environments gets problems that never ever crops up in dev environments because the test data in those evironments are bounded by the developers imaginations.
In prod, real users regularly do unimginable things.
- rizky05 4y ago[dead]
- onion2k 4y agoYou have to actually understand what your code is doing rather than just winging it by accepting there'll be issues that you can fix if they show up. You end up writing a lot more defensive code - you rarely write things to reject improper values but instead you write guard functions that only accept proper values. You embrace the "parse don't validate" approach. You write generators and fuzzers that test APIs with thousands of variations of inputs rather than trying to think of "What would the user do?" You write a lot of things that would be 'pointless' and 'slow' in most organizations, but you don't really see bugs any more, or spend time firefighting and context switching, which counters that slowness significantly. I find it's a really enjoyably way to build software, and I've carried on doing it despite not working in an environment where I had to now.
- progre 4y agoYou'd need managment to really get what you are doing for that not to be career suicide. Because you will look like a slow ass developer, and since there is rarely problems you'd be mostly invisable. Compare that with devs or teams that get features out the door relatively swiftly: Sure, there is problems in production sometimes, but mostly fixed pretty fast too. A dev team like that looks like heroes.
- onion2k 4y agoYou'd need managment to really get what you are doing for that not to be career suicide. My management trusts me, mainly because the app I look after has far fewer reported defects and incidents than the rest of the company. I still haven't managed to persuade other teams to join me yet though. There's significant fear.
- brobdingnagians 4y agoWhat comes to mind is having someone with access to production who can replicate the type of data involved in a problem without the details that violate privacy. Though in some cases that is half of the debugging work done right there figuring out the type of data that breaks it.