5 ms·
The sad thing is he didn’t use open in context manager....
by yeukhon 8y ago
The sad thing is he didn’t use open in context manager....
- Phrodo_00 8y agoHe should've also used load instead of loads, although in this case is not such a big problem (if he closed the file) because everything is getting loaded in memory anyway.
- yeukhon 8y agoRight. My problem is he was trying to show off his skill (he emphasized "engineer" at the beginning of his video) so he could troll the scammer. In that case, at least know how to write proper code. Even intro to Python writes with "with".