Skip to content

Instantly share code, notes, and snippets.

@lorenzwalthert
Last active February 18, 2017 19:35
Show Gist options
  • Save lorenzwalthert/94c079dfba1d09abe186993f275d67c2 to your computer and use it in GitHub Desktop.
Save lorenzwalthert/94c079dfba1d09abe186993f275d67c2 to your computer and use it in GitHub Desktop.
a concept of code structuring
# ________________________________________________________
# A title ####
# this is a level 1 section. l1 sections are are high-level
# blocks.
# [your code here]
## ........................................................
## A sub title ####
# this is a level 2 section. These sections are medium-level
# blocks and sub-blocks of l1 sections.
# [your code here]
### . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
### Another one ####
# level 3 sections, reflecting th lowest level of
# granularity.
# [your code here]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment