@therosieum Agree, it’s very common. I think it often develops in corporate culture, and then follows the person into other pursuits. Once adopted, seems uncommon for someone to break it.
@howdoibuildthis@thiccyth0t Glad you liked it! I am still working on shifting from indexing highly just on the mean outcome ($ev) of events, to also giving proper consideration to the median outcome, case by case
@mathsppblog@s_gruppetta you guys are all-stars. I found reading Rodrigo’s “little book of itertools” followed by Stephen’s “the itertools series (with Yteria)” articles to be a super effective (and complementary) learning path. Thx!
@treyhunner I find writing lots of asserts w/ LBYL to often require too much up front effort to justify what it serves. Only thing I like about this style is that they are silent when they work, at least. I prefer to just use try/except everywhere with EAFP.
@driscollis@pawjast So when a library is “built on top of” another library, it is importing some pieces of, but not the entirety of, the parent library?
@mathsppblog@dannyreigns015 This is how a dict ensures uniqueness per key and a set ensures uniqueness per item? Nice…I presume it is less efficient to compare the dictkeys and set items in their original formats without converting them into ints via using hash?