Saturday, March 21, 2020

The Bauhaus Notes essays

The Bauhaus Notes essays When Walter Gropius resigned as the head of the Bauhaus in 1930, Ludwig Mies Van Der Rohe (1886-1969) became its director, moving it to Berlin before political pressures forced it to close in 1933. In his architecture and furniture he made a clear and elegant statement of the International Style, so much so that his work had enormous influence on modern architecture. Taking his motto "less is more" and calling his architecture "skin and bones," his aesthetic was already fully formed in the model for a glass skyscraper office building he concieved in 1921. Working with glass provided him with new freedom and many new possiblities. In the glass model, three irreguarly shaped towers flow outward from a central court. The perimeter walls are wholly transparent, the regular horizontal patterning of the cantilevered floor panes and their thin vertical supporting elements. The weblike delicacy of the lines of the glass model, its radiance, and the illusion of movement created by reflection and by light changes seen through it prefigure many of the glass skyscrapers of major cities throughout the world. Georg Muche's Haus am Horn, the model house for the Bauhaus exibition in 1923, was the first house he had ever designed. It is an extraordinary little Modernist Villa, classical in its own way. As the floor plan shows, it was designed for a single family with young children and no servants. The living room stands at the centre of the house, surrounded by all the other, much smaller rooms and lit by clerestory windows above. The surrounding rooms are linked in a logical way for middle-class households (the man's and the woman's rooms both lead into the bathroom, the womans room connects with the nursery and so on). M...

Wednesday, March 4, 2020

++i and i++ Increment and Decrement Operators

++i and i++ Increment and Decrement Operators These increment operators and the corresponding decrement operators are perhaps a little confusing to anyone who hasnt come across them before. To start with there are several different ways to add or subtract one. i i 1;i 1;i;i; For subtracting one there are the same four choices with - substituted for each . So why exactly does JavaScript (and other languages) provide so many different ways to do the same thing? Well, for one thing, some of these alternatives are shorter than others and so involve less typing. Using easily allows any number and not just one to be added to a variable without having to enter the variable name twice. That still doesnt explain why both i and i exist since both can only be used to add one and both are the same length. The reason for the two alternatives is that these are not really intended to be used as stand alone statements but are really designed to be able to be incorporated into more complex statements where you actually update more than one variable in the one statement.statements where you actually update more than one variable in the one statement. Probably the simplest such statement is as follows: j i; This statement updates the values of both of the variables i and j in the one statement. The thing is that while i and i do the same thing as far as updating i is concerned they do different things with regard to updating other variables. The above statement can be written as two separate statements like this: j i;i 1; Note that combining them together means we have eight characters instead of 13. Of course, the longer version is much clearer where it comes to working out what value j will have. Now if we look at the alternative: j i; This statement is the equivalent of the following: i 1;j i; This, of course, means that j now has a different value to what it had in the first example. The position of the either before or after the variable name controls whether the variable gets incremented before or after it gets used in the statement that it is used in. Exactly the same applies when you consider the difference between i and i where the position of the determines whether one is subtracted before or after the value is used. So when you use it separately as a single statement it makes no difference whether you place it before or after the variable name (except for a microscopic speed difference that no one will ever notice). It is only once you combine it with another statement that it makes a difference to the value that gets assigned to some other variable or variables.