Skip to main content

Blog Archive for cayhorstmann during June 2010

Now here's a topic on which everybody has an opinion—brace styles. One common style is named after Kernighan and Ritchie: if (x < 0) {   printf("Negative\n");   x = -x;} Another one is named after Eric Allman: if (x < 0) {   printf("Negative\n");   x = -x;} Each style has a clear advantage. The K...
My dad is visiting, and he just picked up his rental car. He proudly announced that he got a good deal on a compact car without power windows. What's wrong with power windows? Nothing, of course, until they break. Then it becomes expensive to diagnose and fix the problem. JavaServer Faces is like power windows. When stuff works, it is great. But when it fails mysteriously, it becomes expensive...