Lurker News
Can be super esoteric or super generalized, I love it when I get them, or when I just learn something new.

Comments (852) 364 threads

Show all comments

Showing thread 21 of 364

tilolebo5 replies#
A programmer had a problem. He thought to himself: "I know, I'll solve this with threads!"

has Now problems. two he

imglorp1 reply#
Then he thought he'd use Java. Now he has a ProblemFactory.
spacemanmatt4 replies#
This is funny because no one uses the factory pattern in other languages
isoprophlex1 reply#
You'd be surprised to see how many WhateverFactory classes there are in the current python project I'm working on... sigh.
number6#
Using FactoryBoy for testing?
sheikheddy#
Sadly I've seen it used in Scala
marcosdumay1 reply#
Well, to a first approximation, no, nobody uses the factory pattern in other languages.

Once in a long while you see one in C# or C++. But the people making fun of Java aren't comparing it with C# and C++.

Continue this thread — 1 reply

Continue this thread — 2 replies

oars#
Best one.
CGamesPlay1 reply#
This one always bugs me because it says "two" but this output couldn't be produced with fewer than 3 threads.
axaxs#
Fair point if you read it literally and assume each thread is a problem. But I assume, as it's a variation of the regex joke, 'using threads' is seen as a singular thing. Perhaps it should say 'threading?'
cupofcoffee#
lmfao
DarkWiiPlayer#
Fuck threadsing