• 0xCAFe@feddit.de
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    9 months ago

    Too often, you won’t be given time to make your software understandable. Probably almost never. So you have to incorporate a way of programming that leaves your code more understandable after you fixed your bug or added your feature.

    I don’t know if understandability is the most important thing. However I certainly agree with the author that it’s curcial, if you ever want to do more than merley a script or a proof of concept.

    • HamsterRage@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      So write it properly from the get-go. You can get 90% of the way by naming things properly and following the Single Responsibility Principle.

  • Digital Mark@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 months ago

    It’s clearly secondary to correctness: A program that is well-written but doesn’t work right is worthless. Many hairy balls of mud have shipped to great acclaim.

    Human readability & comprehension is nice for maintenance, but you don’t get to maintain something that never worked right to begin with.

    … Of course, Windows is existence proof that you can be successful with neither.

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    9 months ago

    The most important part of part of programming is learning to understand software