Talk:Dc (computer program): Difference between revisions

Content deleted Content added
Can't use language-specific coloring on mixed-language source.
Line 33:
 
Oops, obviously, it is not protected. I'm gonna change it myself. Cheers!--[[Special:Contributions/131.152.224.31|131.152.224.31]] ([[User talk:131.152.224.31|talk]]) 14:34, 29 September 2011 (UTC)
 
== Examples ==
 
A commented version is slightly easier to understand ...
 
This example, Perl source containing embedded dc source, was formatted with language-specific, syntax-aware color coding. While I personally find that the jarring color shifts make source code almost unreadable, I would have left this style in place were it not already meaningless:
 
# The Wikipedia renderer doesn't have a style for “dc” source at all.
# The renderer doesn't handle nested source.
# The renderer doesn't handle multiple languages in one block of code.
# All the dc source, which (in this article on dc) is the whole point of the example, was rendered in one uniform color as being a single Perl function argument.
 
Since the colors only distracted from the dc example by highlighting the Perl code, I'm dropping those colors, leaving the dc and Perl source unchanged.
[[Special:Contributions/206.205.52.162|206.205.52.162]] ([[User talk:206.205.52.162|talk]]) 16:50, 19 April 2013 (UTC)