Commentary

Serdar Yegulalp
 

Source Code Isn't A Standard

Savio Rodrigues just wrote about a colleague testing a bunch of browsers based on the open source WebKit rendering engine. To his dismay, "no two are exactly the same". Or, as he put it, "A WebKit-based browser is, well, whatever the vendor wants it to be."

Savio Rodrigues just wrote about a colleague testing a bunch of browsers based on the open source WebKit rendering engine. To his dismay, "no two are exactly the same". Or, as he put it, "A WebKit-based browser is, well, whatever the vendor wants it to be."


More Software Insights

White Papers

More >>

Reports

More >>

Webcasts

More >>

If you take a bunch of different applications that all implement WebKit, you would expect them to render the same things the same ways, but the evidence proves otherwise. My take-away from this little discovery could be summed up like so: Source code isn't a standard.

Source code is a building block, not a standard. It's something you turn into other things. A standard is something that stands above and apart from all of those things, a guideline for what that finished product ought to be like.

I get the impression many people who deal with open source expect source code to act like a standard, or serve as some kind of substitute for a standard. Ergo, something built on Linux should be cross-compatible with everything built in Linux. I see variations of this formula -- not always spoken out loud -- among people who see open source as a panacea.

The problem with using code as a standard is simple: it's too fluid. The minute you implement it in something, it's not the same code anymore. It almost always has to be changed to fit its container, as water changes to fit.

Savio argues that instances like this are a big reason why open source has to be paired with open standards. What you get out the other end has to pass muster with everyone, not just your own crew.

The problem is: how do you enforce an open standard in an environment where there are no real penalties for non-compliance? That's been bothering me for a lot longer than there's been a WebKit to only partly implement the standards in question.

InformationWeek has published an in-depth report on Sun's future under Oracle. Download the report here (registration required).

Follow me and the rest of InformationWeek on Twitter.


Related Reading




Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

InformationWeek encourages readers to engage in spirited, healthy debate, including taking us to task. However, InformationWeek moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. InformationWeek further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
T-Shirt Giveaway T-Shirt Giveaway: Each week we're selecting one great comment from our readers. The author of the comment will receive an InformaitonWeek Community t-shirt. So get posting!
Subscribe to RSS

Resource Links