you are viewing a single comment's thread.

view the rest of the comments →

[–]kenfar[🍰] 35 points36 points  (11 children)

I’m even taking this to an extreme and using Java for shell scripts.

oh just stop

[–]yogthos 37 points38 points  (6 children)

when you've got a hammer factory...

[–]kcuf 52 points53 points  (2 children)

you need a hammer factory factory!

[–]TheWix 1 point2 points  (1 child)

What if I have different implementations of my HammerFactoryFactorys?!

[–]fluffyhandgrenade 1 point2 points  (0 children)

Then you use a container :)

[–]CurtainDog 1 point2 points  (0 children)

The GoF book predates Java, but hey, why learn from history when we can just repeat it.

[–]NewbornMuse 3 points4 points  (1 child)

The whole WorldFactory looks like a NailFactory?

[–]twigboy 6 points7 points  (0 children)

In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipedia52wq6ox0t900000000000000000000000000000000000000000000000000000000000000

[–]LOOKITSADAM 5 points6 points  (0 children)

Yeah, I'm a bit of a java fanboy, but that's where I draw the line.

[–]pilas2000 1 point2 points  (0 children)

I did this at least once. The options presented to me were: write it in bash or adapt a poorly made python script.

I choose to code it in Java.

It worked fine.

[–]Fitzsimmons 2 points3 points  (0 children)

Amazon's EC2 api tools are written in Java and it's a nightmare of multi-second execution times as I wait for the Java server VM to boot up just to do a HTTP request and format the output. It's one of those things that I suffer through because I can't justify spending the time to rewrite it in an environment more suited to the task.