Talk:Libpng

From Wikipedia, the free encyclopedia

This is the talk page for discussing improvements to the Libpng article.

Article policies

Contents

[edit] Code example

So now over 50% of the article consists of a piece of sample Windows code. Issues:

  1. It's either original research or unsourced.
  2. It doesn't actually describe what it's doing.
  3. It's an obvious piece of howto info.

I reckon this should be removed. The rationale given ("with an example the rest doesn't make sense") doesn't hold; there are plenty of articles on software libraries which can hold their own on WP without code examples. Chris Cunningham (talk) 14:39, 12 January 2008 (UTC)

But how else do you think the article can be expanded? I know the article obviously needs to explain various structures and functions. The code example, I mean this particular one, is not an original research at all because it is very straightforward way of demonstration of various features in the library. I agree the code probably needs some more comments, but I didn't meant it is perfect. Finally, it is not good that the large part of the article is just a program code, but then the right course of action would be expand the article not remove the code, just like in any other articles in wikipedia. -- Taku (talk) 22:35, 12 January 2008 (UTC)
Uses, history, functionality compared to spec. Original research means anything which isbn't directly appropriated from sources. The code doesn't add anything because it's unintelligible to non-programmers and of little value to actual programmers (who are far more likely to read API docs than to study Wikipedia for details on libraries. Chris Cunningham (talk) 00:36, 13 January 2008 (UTC)