lemmy.onlylans.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@suppo.fi to Programmer Humor@programming.dev · 11 hours ago

Senior devs...

suppo.fi

message-square
61
fedilink
520

Senior devs...

suppo.fi

cm0002@suppo.fi to Programmer Humor@programming.dev · 11 hours ago
message-square
61
fedilink
  • thedeadwalking4242@lemmy.world
    link
    fedilink
    arrow-up
    46
    ·
    7 hours ago

    Junior devs not abstracting anything and now the app is unmaintainable

    • Tamo240@programming.dev
      link
      fedilink
      arrow-up
      14
      ·
      5 hours ago

      Exactly, have fun trying to get test coverage without dependency injection

      • jjjalljs@ttrpg.network
        link
        fedilink
        arrow-up
        7
        ·
        4 hours ago
        
        with patch("some_file.requests.get", side_effect=SomeException("oh no")):
          result = func_using_requests()
        

        Though not every language makes mocking as easy, and multiple responsibilities in a single function can quickly get messy.

        • Tamo240@programming.dev
          link
          fedilink
          arrow-up
          4
          ·
          2 hours ago

          Oh I’m fully aware that python lets you cheat dependency injection with patch, its one of the many things python teaches developers to do wrong, which leads them to be unable to use any other language.

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      6 hours ago

      Is it any more maintainable with four levels of abstraction?

      • thedeadwalking4242@lemmy.world
        link
        fedilink
        arrow-up
        20
        ·
        5 hours ago

        There’s a middle ground

        • red_tomato@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          4 hours ago

          2 layers of abstraction is the gold standard

      • RagingRobot@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        4 hours ago

        Depends on the abstractions

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.95K users / day
  • 4.88K users / week
  • 8.57K users / month
  • 18K users / 6 months
  • 1 local subscriber
  • 28.9K subscribers
  • 2.08K Posts
  • 80.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org