• QuazarOmega@lemy.lol
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    7 days ago

    I sort of agree with some points, especially the ones about dynamic identifier creation and renaming identifiers, but those last 2 to me sounds a lot like you don’t know how to search beyond the really basic “I want this string here”, I’m assuming that it’s an effort to enable whoever comes next to search and find everything they should find mindlessly, not knowing the project, since the author talks about navigating foreign code bases, but I think compromises can be made when you should expect just a bit more effort from contributors for the sake of a more rationally organised code base

    • silasmariner@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      7 days ago

      Even the camel/snake case renaming can be handled with the right regex, but dynamic identifiers are a mortal enemy. I remember the first time I came across a rails codebase… shudder