Scanner scanner = new Scanner(...);

Which is fine until you're in a corporation where the (many) classes are so detailed that each one is 30 chars long...

  • 6
    String jsonToMakeRequestToServiceProvider = ...;
    String serviceProviderResponseJson = makeHttpRequestWithPayload(jsonToMakeRequestToServiceProvider);
    validateAndDeserializeJson(serviceProviderResponseJson, MyBigAssCommonDomainModel.class);
  • 1
    When you forget to serialize objects separately so you got a object a=new object b(new object c(new object d(new object e)))

    God i love java
  • 2
    Dependency Injection
  • 0
    Scanner* scanner = new Scanner();
  • 1
    So that's why function and class names in PHP can be of virtually infinite length.
Add Comment