3 ms·
You mention typical PHP projects written by people who think they know better than the likes of Tim Bray. PHP, the language that made short tags a configuratio
by stesch 10y ago
You mention typical PHP projects written by people who think they know better than the likes of Tim Bray.
PHP, the language that made short tags a configuration option because they wanted to mix program code with XML.
PHP, the language with a lot of different escape functions because they didn't get it right the first time.
- oceanswave 10y agoI also mentioned projects written in Ruby and Java, but that's ok. VB.Net also has XML Literals. Ha ha.
- MichaelGG 10y agoVB's XML literals are just shortcuts for creating the corresponding classes though, right? That's quite a bit different.
- oceanswave 10y agoWas being a bit sardonic in my comment due to where the discussion went, but yeah, XML Literals in VB.Net create XDocument instances and are just like string literals except: * Enclosing quotes aren't required * Assumed to be multi-line so line continuation characters aren't required * Are validated for being well-formed XML by the compiler (and at design-time, if VS) * Can have embedded expressions