3 ms·
(Tedious disclaimer: my opinion only, not speaking for anybody else. I'm an SRE at Google.) > I've also heard that at Google they require assert isinstance for
by asuffield 10y ago
(Tedious disclaimer: my opinion only, not speaking for anybody else. I'm an SRE at Google.)
> I've also heard that at Google they require assert isinstance for every parameter of every function.
This is not true.
- asdfologist 10y agoHow is that an opinion?
- asuffield 10y agoI might be wrong, and somebody who can speak for the company might contradict me in the future. I can only say anything with this proviso.
- asdfologist 10y agoBy definition an opinion can't be wrong. I think you meant speculation instead.
- qihqi 10y ago+1 (From former SWE at Google).