Python Birdies: Codegolfing for better understanding (and fun)


Codegolfing means taking a programming task and trying to answer it witha byte-minimal correct solution

Follow to receive video recommendations   a   A
Upvotes: DownVotes:
Age: 6 months     Page Views: 91
Votes / View: 66    Wilson Score: 0.61

CodeGolfing often takes shortcuts,is horribly inefficient, and definitely violates almost 100% of PEP 8.Like any playful interaction with a subject, it can however improve yourunderstanding of it, as well as teach you about weird interactionsregarding operator precedence, lexer quirks and more.After going over basic definitions, I will take a small number ofwell-known or straightforward programming tasks and go through the actof golfing an answer together step by step.