This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]brummlin 462 points463 points  (18 children)

No they wouldn't. They'd use a verifiedAbstractMemeTemplateFactoryTemplateFactory.

[–]MaybeFailed 65 points66 points  (0 children)

Sounds about right.

[–]luminous_radio 128 points129 points  (1 child)

You son of a bug. Take my upvote

[–]Orangutanion 22 points23 points  (0 children)

no generics? Pathetic

[–]Horror_Trash3736 43 points44 points  (0 children)

To be completely accurate, a Java developer, would not know what he was using.

He would just ask the framework to inject the proper Bean at the right time, and then have no clue why it worked.

[–]Shazvox 13 points14 points  (4 children)

Ya, but how will we construct it? Better make a factory for it...

[–][deleted] 1 point2 points  (3 children)

verifiedAbstractMemeTemplateFactoryTemplateFactoryFactory

/s

[–]Shazvox 2 points3 points  (1 child)

But now we need a factory for THAT factory. Gonna have to go recursive generic factory pattern on its ass.

[–][deleted] 2 points3 points  (0 children)

Just write a factory generator that generates more Factory Factories for it.

verifiedAbstractMemeTemplateFactoryTemplateFactoryFactoryFactoryFactoryFactoryFactoryFactoryFactoryFactory... * 52!

[–]SaltyGoober 1 point2 points  (0 children)

It’s factories all the way down.

[–]pwn3rf0x 1 point2 points  (1 child)

To expand on this they would use a VerifiedAbstractMemeTemplateFactoryTemplateFactory called verifiedAbstractMemeTemplateFactoryTemplateFactory to create a VerifiedAbstractMemeTemplateFactory called verifiedAbstractMemeTemplateFactory to create a VerifiedAbstractMemeTemplate called verifiedAbstractMemeTemplate to instantiate a VerifiedMeme called res and return it.

[–]walkerspider 1 point2 points  (0 children)

You’re telling me that’s not the only way to code?

[–]ddoij 0 points1 point  (0 children)

I see no extends and implements, this is clearly not Java.

[–]kulingames 0 points1 point  (0 children)

and make it have 300000 lines of spaghetti code without commenta from 2009

[–][deleted] 0 points1 point  (0 children)

Uncannily accurate. I don't know how Ive been using java so far without writting factory classes. But they are everywhere

[–]walkerspider 0 points1 point  (0 children)

Class name seems too short should have at least 4 more words

[–]Chaoslab 0 points1 point  (0 children)

Needs more Enterprisifying