12

How many files can one have in the root of a repo? xD

https://github.com/stripe/stripe-go

Comments
  • 6
    *screeching noises*
  • 1
    all of them
  • 4
    As many as the FS allows. I guess. They are at v74. They also use super long names. Funny have any idea what type of practices they follow.
  • 6
    @hjk101 a certain os whose Name Windows shall not be named to protect from being bullied still has the 256 char limit of MAX_PATH... They're gonna be in trouble.
  • 2
    I recall a HN article about how Rust's module system sucks because the unit of compilation is separate from the hierarchy and so complex modules are tolerated, whereas Go encourages small self-contained modules by tying the unit of compilation to the folder structure.

    Apparently complexity is sometimes just a fact and the failure to handle it cannot be painted as a feature.
  • 1
    Is there a limit?
  • 1
    @lorentz Actually we learned from the mistakes of Java and stopped tying code to the file system a long time ago. Seems like Go is repeating the mistakes from the past and is glad about it.
  • 2
    @davidvkimball
    No no!
    No no no no!
    No no no no!
    No no there’s no limit!
Add Comment