Refresh Portland—Jane Austen on Python: Tips from an English Major on Writing Better Code
With two English degrees, Lacey Williams Henschel has identified some concrete ways having a Lit background makes for a better developer. This talk discusses how developers can take lessons from literature to write more readable code, make better tests, and create more usable websites.
We’ll compare Two Scoops of Django to Strunk and White’s The Elements of Style, that familiar Freshman Comp text, exploring how they are more alike than they are different. We’ll discuss the importance of readability, creating a “story arc” in your tests through good user stories, how variables names have characterization, and the importance of whitespace and good formatting to everyone. We’ll also compare PEP8, the Python style guide, to the MLA Handbook; there’s a reason both disciplines have a style guide!