3 ms·
> Not everything has to be designed for a super critical prod environment with >10 coders working non stop on it. You don't need a super critical prod environm
by gjulianm 4y ago
> Not everything has to be designed for a super critical prod environment with >10 coders working non stop on it.
You don't need a super critical prod environment to have decent code. Half of these are hardcoding environment configuration, others have hidden side effects that the caller of the function cannot control at all, and others are badly reimplementing things that already exist (@redirect -> you want logging for this, @stacktrace -> use a debugger)
- mrtranscendence 4y agoA debugger isn't necessarily available in all environments. At my employer data scientists do a significant amount of their work in Databricks, where as far as I know it's impossible to drop into a debugger to trace execution. That said, I'm not really defending these specific decorators.
- inkeddeveloper 4y agoWell, there’s your first thing to fix.
- joshuamorton 4y agoThey did.