An example of how a form has been directly derived from a certain function is the reconstruction of houses for families who lost their homes after the earthquake of September 19th of 2017 in Mexico City, Oaxaca and Guerrero.
Money was an important factor of decision making and so basic necessities and a smart use of square meters were put before aesthetics.