• Victor
    link
    fedilink
    85 months ago

    Then perhaps the code you are trying to extract doesn’t make a clear and cohesive procedure. Maybe include more or less of the code, or rework the code into logical pieces or steps. Write the algorithm in human language first, then implement the steps using functions.

    🤷‍♂️ Or fnck it.

    • @[email protected]
      link
      fedilink
      English
      1
      edit-2
      5 months ago

      Sometimea the smallest logical unit of an algorithm uses more than 3 levels of indentation