• kucing@lemmy.my.id
    link
    fedilink
    arrow-up
    17
    arrow-down
    9
    ·
    1 year ago

    Ah finally, an overpriced device to show off my overengineered, 10s layers of abstraction of SimpleShitLotsGoodLibrariesButWeDecidedToMakeOurOwnFactory.

      • Von_Broheim@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Yeah that can get ugly but it’s still better than writing native queries because you know it’s gonna automatically translate to any db specific sql flavour.

        When they get a bit too long and ugly I either write default methods using specifications or I create a more concisely named default method that wraps the verbose monster.

    • sip@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      you forgot about AbstractSimpleShitLotsGoodLibrariesButWeDecidedToMakeOurOwn and AbstractSimpleShitLotsGoodLibrariesButWeDecidedToMakeOurOwnAbstractFactory