Skip to content

why not just call the variable windowing_name or something like that. #409

@sjswerdloff

Description

@sjswerdloff

why not just call the variable windowing_name or something like that.
Yes, it's the text that is the key to a dictionary, but that's a very abstract way of specifying what a variable is. I'm a strong believer in naming variables according to what they represent (so that the code can be read by a human and understood. See "literate programming". https://en.wikipedia.org/wiki/Literate_programming
While python isn't exactly what Donald Knuth had in mind, writing your program so that it can be read as if it was prose makes it easier to understand.

Originally posted by @sjswerdloff in #405 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions