r/badcode • • Jul 09 '20

java Good practice: Always call java.lang.Object's constructor

Post image
704 Upvotes

52 comments sorted by

View all comments

Show parent comments

29

u/GlowingOrb Jul 09 '20

return new getDressFactoryBuilder().createDressFactory().createDress()

10

u/DurianExecutioner Jul 09 '20

... .getDressSingleton()

2

u/zoqfotpik Jul 10 '20

.getDressSingletonTemplateFactory()

1

u/chemaclass Jul 09 '20

Fare enough

2

u/fb39ca4 depraved Jul 09 '20

Then where's my ticket?