“Methods like this act as “factories” in that they take raw materials (such as row data, for example, orconfiguration information) and use them to produce objects. The term factory is applied to codedesigned to generate object instances.”

Matt Zandstra

Explore This Quote Further

Quote by Matt Zandstra: “Methods like this act as “factories” in that the… - Image 1

Similar quotes

“Some properties should not be changed. The Answer to Life, the Universe, and Everything is 42, and you want it to stay that way. Error and status flags will often be hard-coded into your classes. Although they should be publicly and statically available, client code should not be able to change them.”


“I was impressed by the scene in Apollo 13 where the astronauts request confirmation of their calculations and several people at Mission Control dive for their slide rules. For several months after that, my standard response to statements like "We must implement multi-processor object-oriented Java-based client-server technologies immediately!" was "You know, FORTRAN and slide rules put men on the moon and got them back safely multiple times."Tended to shut them up, at least for a moment.”


“[Obamacare] was almost the perfect example of politics in the Bubble Era, where the time horizon for anyone with real power is always close to zero, long-term thinking is an alien concept, and even the most massive and ambitious undertakings are motivated entirely by short-term rewards. A radical reshaping of the entire economy, for two election cycles’ worth of campaign cash – that was what this bill meant. It sounds absurdly reductive to say so, but there’s no other explanation that makes any sense.”


“lenders to trade their long-term income streams for short-term cash. Say”


“In a massive, long-term study of 17,000 civil servants, an almost unbelievable conclusion emerged: the status of a person's job was more likely to predict their likelihood of a heart attack than obesity, smoking or high blood pressure.”


“Be proud to act like a normal human being. Keep daylight hours, get a regular job, and mix in the company of people with a fixed sense of right and wrong.”