News for hackers. Stuff that matters.
Re:A core Python committer's (very shallow) thoughts on Dart by arethuza on Monday May 14, 2012 @04:04AM (#3969992)
Every time I read about Java developers and their love of Factories (and Factory Factories) I think of this wonderful comment on Joel on Software:

http://discuss.joelonsoftware.com/default.asp?joel.3.219431

NB Factories are one of these things that seem like a good idea in theory, but often seem to end up with crazy levels of abstraction in practice.

Re:A core Python committer's (very shallow) thoughts on Dart by fraserharris on Monday May 14, 2012 @05:07AM (#3970122)
A message I received from a friend working at Google:

"New layers, more layers, bigger layers, better layers, abstract layers, injected layers, factory layers, module layers, AbstractFactoryFactoryModuleBuilderInjector layers, layers upon layers within layers wrapped in layers, a glorious spire of layers to reach the heavens and bring renown to Babylon! Hellelujah!"

Re:A core Python committer's (very shallow) thoughts on Dart by nl on Monday May 14, 2012 @10:51AM (#3971273)
There is no doubt that there is a culture of abstraction stupidity in Java (although it isn't as bad as it used to be), and yes, I agree that a FactoryFactory is a code smell.

That doesn't make factories bad.

Re:A core Python committer's (very shallow) thoughts on Dart by Ingaz on Monday May 14, 2012 @09:12AM (#3970879)
Factories is not bad in practice.

Essentially closures, curried functions, partial evaluated is the same thing: code that generate code.

I'm not a java developer