Do'h, of course HTML strips spaces! so, try again: if (condition) do something; other code;
Graham J Newton
Posts
-
Brace style -
Brace styleThis is all about readability (compilers don't give two hoots). Braces around one line of code make it LESS readable -- your codes ends up spanning too many lines / pages. Btw, indentation is vital, so the form should be: if (condition) do domething; other code where the blank line before the 'other code' is also vital. (And then there's the debate about whether there should be some comments against each block of code, but I won't go there!)
-
Remote DevelopmentI've been making some noise about the PCs we have in our company to develop on. They're woefully under-spec. In response, our IT people have mooted the idea of moving us to central servers and using Terminal Services (I think). They say we'll need fewer Visual Studio licenses, the servers will be high-spec so it will be faster for us and everyone wins. My gut instinct is that it's an appalling idea, but I can't come up with many rational reasons why. There are about a dozen of us in the Development department. Has anyone out there got any experience of this sort of environment? Does it work well? Graham UK