Writing
fromPsychology Today
1 week agoThe Joys of (Creative) Constraint
Many successful writers experience anxiety, but self-imposed constraints can help alleviate this and enhance creativity.
I couldn't get Hypothesis to generate usable data for my test. I wanted to assert that two equal data items would hash equally, but Hypothesis was finding pairs like[0] and [False]. These are equal but hash differently because the hash takes the types into account.