3 ms·
"Overlooked core functionality" is an interesting way to spell "massive footgun".
by IshKebab 3y ago
"Overlooked core functionality" is an interesting way to spell "massive footgun".
- QuiDortDine 3y agoI've been coding for most of my life and I can't believe some people would choose some of these tricks when python has much simpler syntax for most of these. The first, *_, last trick for example would be particularly obnoxious to encounter. The first element is my_list[0], last is my_list[-1]. Dead simple, way easier to understand at a glance.
- masklinn 3y agoAnd does not work at all on iterators.