5 ms·
Exactly, you could write formulas like that in Python but you would need to spell out the exact execution order, which is "one more thing you have to worry abo
by PaulHoule 4y ago
Exactly, you could write formulas like that in Python but you would need to spell out the exact execution order, which is "one more thing you have to worry about" that divides professional programmers from everyone else.
At an introductory level it doesn't seem like much but there is a certain point in complexity where it becomes a major burden, particularly when it comes to composing complex systems out of multiple parts.
That's how frameworks like Guava and Spring banished the Factory, FactoryFactory, FactoryFactoryFactory, FactoryFactoryFactoryFactory, ... pattern in Java by creating a MetaFactory that sees the relationships between all the parts as a whole and resolves all of the things that would seem circular if you didn't carefully tease them apart manually. Things of this type, however, have a remarkable ability of "slipping people's minds" and you still hear people complaining about the Factoryⁿ problem in Java which is so 1998.