Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.62 KB | None | 0 0
  1.  
  2.  
  3. #imports $$ Comments that start with $$ in the following graphics are removable and strictly for explaining the graphic/workflow.
  4.  
  5.  
  6. '''
  7.  
  8. MISSION: $$ To find xxxxxxxxxx
  9.  
  10. $$ To measure xxxxxxxxxxxxx
  11.  
  12. $$ To measure yyyyyyyyyyy
  13.  
  14. $$ etc, etc. Should be an overview of what you are doing, possibly include some measurements you'd like to find
  15.  
  16. '''
  17.  
  18.  
  19.  
  20.  
  21. ############################################################ ##########################################################
  22. # # # BOXES SHOULD BE PLACED NEXT TO CODE #
  23. # FUNCTION DEFINITIONS # # TO EXPLAIN ALGORITHMS AND ABSTRACT IDEAS #
  24. # # # #
  25. ############################################################ ##########################################################
  26.  
  27. #
  28. # FUNCTION DESCRIPTION / TYPES IN: foo OUT: bar $$ types in and out are not required but help readability for humans.
  29.  
  30.  
  31.  
  32. # Comments should be brief
  33. # Comments should start with a space followed by a capital letter
  34. # Comments should be lined up horizontally, by section
  35.  
  36. # This set of comments is also acceptable because it's a separate section.
  37. # They are also still lined up horizontally
  38. # Relevant Comment
  39.  
  40.  
  41.  
  42. #####################################################################################################
  43. # NEEDED
  44. #####################################################################################################
  45. #
  46. # $$ Description of functions needed for '''MISSION''' that have yet to be written go here
  47. #
  48. #####################################################################################################
  49. # NOTES:
  50. # $$ NOTES and THOUGHTS to keep in mind HIGHLY IMPORTANT INFORMATION TAKES PRIORITY HERE.
  51. #
  52. #####################################################################################################
  53. ## COMPLETE #
  54. #####################################################################################################
  55. # #
  56. # Function Description Function Name #
  57. #####################################################################################################
  58. # $$ COMPLETE FUNCTIONS GO HERE
  59. # |
  60. # |
  61. #####################################################################################################
  62.  
  63.  
  64. # NEEDED and COMPLETE provide work flow. Once a function within NEEDED has been completed and tested, I send it to COMPLETE.
  65. # Once complete is filled out, we can move so that we are working below complete.
  66. # This allows us to see both notes and functions available without having to scroll through each.
  67.  
  68. # $$ Once we have written our complete functions, we can scroll so that we are now working below that graphic,
  69. # $$ And we have a quick reference to functions available to us
  70.  
  71.  
  72.  
  73. # #
  74. ## $$ This type of graphic is reserved for creating/initializing/assigning to data structures before doing any 'work' ##
  75. ### ###
  76.  
  77.  
  78. #
  79. ## DO WORK // CREATE $$ Reserved for sections of code that "builds" or manipulates data.
  80. ### $$ THESE SHOULD ALWAYS COME BELOW THE ABOVE, AND THE ABOVE INITIALIZATION GRAPHIC SHOULD NEVER BE BELOW THIS
  81.  
  82.  
  83.  
  84. #**************************************************************************************#
  85. # GUI/OUTPUT #
  86. # $$This graphic is used to indicate all code below this will be related to the GUI #
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94. ########################################################################
  95. # ERRORS:
  96. #
  97. # $$ Current Errors
  98. #
  99. #
  100. ########################################################################
  101. #
  102. # Error Fixes
  103. #
  104. #
  105. #######################################################################
  106. #
  107. #
  108. # LOCATION: $$ some_function()
  109. #
  110. #
  111. # ERROR INFO: $$ returned int instead of str $$ this allows you to track your own changes.
  112. #
  113. #
  114. # PREVIOUS CODE: $$ return (int(x))
  115. #
  116. #
  117. # FIXED CODE: $$ return (str(x))
  118. #
  119. #######################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement