Working Notes: a commonplace notebook for recording & exploring ideas.
Home. Site Map. Subscribe. More at expLog.
— Kunal
This is my primary guiding principle: the program must express my intent -- both to humans and computers. And it must do so as clearly and simply as possible.
Some examples to make this concrete:
Getting this right defines a lot of downstream decisions crisply -- which dependencies I want to take, how fast I'll be able to iterate, how much memory I can afford to use -- and effectively defines the spine of the program.
By definition, the intent must bake in broader context the program will be used in as well; whether it's just for me, or for a team to maintain, throwaway or production software.
Python is astonishingly expressive, and lends itself really well to this style of programming: you can apply it's metaprogramming features well enough to make accomplishing the intent easy.