Despite the obvious levity, this is actually serious. It was made by why the lucky stiff, a pretty prominent member of Ruby community, back in the day. This, however, was part of his mysterious burnout manifesto, for lack of better term. He really really bloody needed a break.

“programming is rather thankless. u see your works become replaced by superior ones in a year. unable to run at all in a few more.”

  • Toes♀
    link
    fedilink
    416 months ago

    Where does maintaining a 25MB perl script fall into.

  • @SpaceNoodle
    link
    26
    edit-2
    6 months ago

    Documentation should be larger than code.

    Tests as well.

    • @umbrarozeOP
      link
      116 months ago

      Tests as well.

      In most programming languages, yes.

      In Ruby? …eeeeeeeehhhhhhhhh.

    • @[email protected]
      link
      fedilink
      English
      46 months ago

      Between “One too many nulls” and “The tests are larger . . .” in the beginning, then moving up one notch for each day you’ve been wrestling with it.

  • @[email protected]
    link
    fedilink
    176 months ago

    the tests are now larger than the thing itself

    The purpose of the code is to make the tests pass.

    • ChaoticNeutralCzech
      link
      fedilink
      86 months ago

      The purpose of code is to solve a problem but don’t tell that to the newbies or they reduce the PHP codebase you spend full time managing to 10% that in Rust and take your job.

  • @[email protected]
    link
    fedilink
    106 months ago

    I miss why… he was what everyone really needed, and the industry destroyed him. I haven’t seen anyone like him since.

  • @[email protected]
    link
    fedilink
    56 months ago

    the tests are now larger than the thing itself

    Is such a weird complaint. You should aim for your codebase to be as small, simple and readable as possible, while your tests should be a specification that guarantees behavior is consistent between refactors. When you add behavior, you add tests, when you remove a behavior, you delete tests.

    The size of either is independent of eachother. Small code bases that provide lots of features should be simple to read, but with a lot of tests.

  • Celofyz
    link
    46 months ago

    I always tought that it’s a norm to have more code in tests than in tested program

  • @CaptPretentious
    link
    16 months ago

    I was building up some packer stuff. Vsphere-iso plug-in. Tests were going fine and then for reasons I didn’t understand it said it could no longer find the cd creation tool it has just been using.

    So I try a few things, nothing works. So I figure I have nothing to lose, I make a new folder to house all the tools in one place. Update Windows system environment path. Restart everything. VScode didn’t have my path statement, Google is of 0 fucking help, and now packer doesn’t work. I least it’s the weekend now.