MTGZone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
bort@sopuli.xyz to Programmer Humor@programming.dev · 2年前

STOP DOING DEPENDENCY INJECTION

sopuli.xyz

message-square
79
fedilink
401

STOP DOING DEPENDENCY INJECTION

sopuli.xyz

bort@sopuli.xyz to Programmer Humor@programming.dev · 2年前
message-square
79
fedilink
  • passepartout@feddit.de
    link
    fedilink
    arrow-up
    21
    arrow-down
    6
    ·
    edit-2
    2年前

    Wouldn’t want to write a webserver / database connection / scheduler / etc. from scratch. Spring Boot plus lombok turns 2k lines of code into 100.

    • MajorHavoc@programming.dev
      link
      fedilink
      arrow-up
      22
      arrow-down
      3
      ·
      2年前

      … Looks both ways…

      Python does the same in 10 lines of code.

      … Ducks under a table to avoid the ensuring flames …

      • SpaceNoodle@lemmy.world
        link
        fedilink
        arrow-up
        13
        arrow-down
        1
        ·
        2年前

        I replaced the P in my LAMP stand with Python and I’ve never been happier.

        • MajorHavoc@programming.dev
          link
          fedilink
          arrow-up
          4
          ·
          2年前

          Same here.

      • VantaBrandon@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        2年前

        They say he’s still ducking to this day

        • MajorHavoc@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          2年前

          Yep. That’s why we call it “duck typing” in Python.

    • expr@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      2年前

      Sure… That"s what libraries are for. No one hand-rolls that stuff. You can do all of that just fine (and, actually, in a lot less code, mostly because Java is so fucking verbose) without using the nightmare that is Spring.

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: !programmer_humor@programming.dev

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.

  • 1.05K users / day
  • 5.18K users / week
  • 8.96K users / month
  • 19.4K users / 6 months
  • 5 local subscribers
  • 27.2K subscribers
  • 1.87K Posts
  • 70.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
    cake
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org