• MentalEdgeOPM
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 months ago

    Haha… I know that’d be best practice.

    But holding the code in my head gets so much harder when I do that. There’s something about the way I think about code that makes it easier for me to do monolithically. Just keeping the whole thing in my mind as a long, from the top downwards list.

    There shouldn’t be a difference, it’s not like the code is any different. But for the same reason I tend to stick to what comes easy.

    I might make the analogy that one long file is like a 2d projection of a 3d space for me. I can picture the process moving through the code easier, and as soon I split things into multiple files, it’s like my single-dimensional thinking has to become multi-dimensional.

    • PrivateNoob
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      Well everyone works a little bit different, so it’s wise to formulate the code to your own likeness. For example I really like separating everything into their own task if possible, since I can get overwhelmed by scrolling through thousands of lines.