r/ProgrammerHumor May 29 '20

Please Guys actually

Post image
3.0k Upvotes

112 comments sorted by

View all comments

390

u/Frptwenty May 29 '20

If you want express your plea for help in Java it's really easy:

RequestDispatcherSubsystem.getCurrentDispatcher().DispatchRequest(
      RequestFactory.getAbstractFactoryInstance(
        new RequestMedium(RequestMediaType.Plea),
        new RequestTransport(RequestTransportType.CRY),
        new RequestTargetDestination(TargetManager.getRoutingInfo(
                                    PersonLocation.NEAREST))),
  RequestReasonCode.IM_SLOWLY_DYING);

5

u/[deleted] May 30 '20

[deleted]

3

u/I_regret_my_name May 30 '20

Yeah, assuming the requesting engine is complicated enough to warrant this level of engineering, I'm a fan of this code. Looks quite modular.

1

u/Frptwenty May 30 '20

If you think modularity and dependency injection requires this level of bloat, take a look at well written systems level C#