On 13.05.2011 17:19, Adam D. Ruppe wrote: > It's *much* better, especially for rapid development. The compiler > will tell me if my changes anywhere break things anywhere else, > so I can modify with confidence.
Sure, there are many pros. And one significant drawback - it couldn't be easily embedded into HTML code. Either, you have to generate all your pages from inside of CGI script, or use templates - but the main advantage of PHP is that you can mix it with page text. Unfortunately, this is not really possible with D (or C, or C++ etc) - because the code needs to be compiled first, and that could be difficult to do if it is embedded into the page. /Alexander