Jump to content

Wikipedia talk:WikiProject Programming languages/Archive 2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 1Archive 2Archive 3

Let's see if we can reactivate

I'm going to try to reactivate this. Ideogram 16:20, 3 June 2006 (UTC)

I've been doing some work on Categorical list of programming languages. If anyone has any comments or suggestions on what I've been doing, please drop by its talk page. – Zawersh 08:04, 4 June 2006 (UTC)

C programming language

C programming language is up for a featured article review. Detailed concerns may be found here. Please leave your comments and help us address and maintain this article's featured quality. Sandy 22:41, 16 July 2006 (UTC)

Java programming language

Java programming language is up for a featured article review. Detailed concerns may be found here. Please leave your comments and help us address and maintain this article's featured quality.

Sorry to hit you twice: we need help with the review, and in addressing the articles. Sandy 22:49, 16 July 2006 (UTC)

Disambiguation

This is sort of a contination from the Talk:Python_programming_language#Article naming section, but can we start some sort of process here about the disambiguation technique for the articles? I'd like to lobby for a change to this, and I'd suppose this is the best place for it. The common names for all these lanugages lack the "programming language" prhase, so i feel it is best to put it into parenthesis in order to best disambiguate. Looking at many disambiguation pages, the lack of parentheses also looks out of place: Ruby (disambiguation), Java (disambiguation), C (disambiguation), Pascal (disambiguation), etc. If this discussion has already taken place and consensus for the current naming convention has already been reached, then please accept my apologies for bringing this discussion back up again. atanamir 21:16, 1 September 2006 (UTC) the most common programming language is C++. —Preceding unsigned comment added by Patr566 (talkcontribs) 03:36, 3 January 2009 (UTC)

Poll procedure

I believe I have figured out a reasonable procedure by which to carry on a poll of this renaming proposal that spans many programming language articles. For each programming language identified, please do the following (I have done it for Python programming language as a first try):

(1) At the top of an article talk page, add the following (adjusting to the name of the language):

{{move|Python (programming language)}}

(2) At the bottom of an article talk page, add the following (adjusting to the name of the language):

==Requested move==
[[Python programming language]] → [[Python (programming language)]] 
– Conformance with WP naming conventions ~~~
{{Wikipedia talk:WikiProject Programming languages/Renaming poll}}

Poll

Poll closed as "Move". See Wikipedia talk:WikiProject Programming languages/Renaming poll

Programming language is Good Article Collaboration of the week

FYI, The current Good Article Collaboration of the Week is Programming language (until October 1st). Figure this is the right place to tell people. -Hyad 05:15, 29 September 2006 (UTC)

Project directory

Hello. The WikiProject Council has recently updated the Wikipedia:WikiProject Council/Directory. This new directory includes a variety of categories and subcategories which will, with luck, potentially draw new members to the projects who are interested in those specific subjects. Please review the directory and make any changes to the entries for your project that you see fit. There is also a directory of portals, at User:B2T2/Portal, listing all the existing portals. Feel free to add any of them to the portals or comments section of your entries in the directory. The three columns regarding assessment, peer review, and collaboration are included in the directory for both the use of the projects themselves and for that of others. Having such departments will allow a project to more quickly and easily identify its most important articles and its articles in greatest need of improvement. If you have not already done so, please consider whether your project would benefit from having departments which deal in these matters. It is my hope that all the changes to the directory can be finished by the first of next month. Please feel free to make any changes you see fit to the entries for your project before then. If you should have any questions regarding this matter, please do not hesitate to contact me. Thank you. B2T2 00:06, 26 October 2006 (UTC)

Need Infoboxes

User:Cybercobra/ProgLangInfoboxen

List of languages needing infoboxes I compiled a while ago. Feel free to help out and add/remove entries to the list as appropriate. --Cybercobra 05:33, 15 November 2006 (UTC)

Forth FAC nom

I have nominated Forth for FA status. Please participate and help improve the article. --Ideogram 14:05, 17 November 2006 (UTC)

Category:Articles with example code proposal and call for volunteers

The following is copied from Wikipedia:Categories for deletion/Log/2006 November 29, re the deletion of Category:Articles with example ActionScript code.


I'd like to hear from WikiProject Programming Languages members what you think of this idea. I will argue vehemently with anyone who opposes the general idea of reducing the number of "example code" languages; however, I really need guidance on the "Delete all but one of..." bullet points above (which one should stay?), and also on the cats I didn't explicitly mention above. Is JavaScript really necessary? How about keeping only one of C# and Java? And so on. Discuss. --Quuxplusone 00:22, 1 December 2006 (UTC)

Seems like you're on a one-person campaign, but I'd like to urge we keep examples for Ocaml, Haskell and Scheme. Obviously, Scheme examples would be close to Common Lisp code, in the same way that Ocaml would be similar to Standard ML.

However, the larger point that needs to be made is that C++, Java, and C# examples duplicate eachother far more than functional programming language examples do. And there are even fewer new ideas added by examples in Perl, Python, Ruby, PHP. If people want to simply support languages that are widely adopted, then say so. But most of the examples for these languages say things like "This Perl code is based on the Ruby code" or "this PHP code is based on the Python example". So if the focus is on reducing examples, attention should be made to the imperitave languages and not so much on the functional ones. Otherwise, you're just "feeding the monkey"--adherents are contributing code of their favorite language--and not really adding any substance to the examples in articles by preserving and growing the FP examples. --72.92.129.33 03:33, 4 December 2006 (UTC)

Yes, I'd also support the deletion of all but one of C++, C#, and Java. However, it seems to me that the number of people who will be offended by the exclusion of their favorite language in those cases is likely to be higher than in the case of, say, Ocaml. :) I totally agree with you about the importance of FP languages, too. (Ah, I see now... My "ought to be enough for anybody" comment was based more on the current amount of code on Wikipedia than on any goal. I certainly wouldn't want to see all those languages present on every page! But since we do have substantial amounts of code in each (many?) of those languages, then adding yet another one (ActionScript, PHP,...) would be ridiculous. Hope that clarifies my comment.)
The goal should be to clarify and explain algorithms, not to boost any particular programming language. The article on Algorithm X should show an implementation in some language that makes X easy to show. That means we're going to need a language like C for bitwise ops; a language like Java for OO; a language like Matlab for matrices; a language like Ocaml for currying; and so on and so forth. Once that goal has been met, then the secondary goal should be to reduce the number of different languages used on Wikipedia.
One more point that may be obvious: Some languages are so good at a particular task that they are totally useless as a pedagogical tool. You can't use Perl to demonstrate the parsing of regular expressions, for example, because that's built into the language, and a one-liner doesn't teach anything.
And yeah, this is looking a lot like a one-man crusade. But I'm hoping that by posting here, and doing a lot of deletions with Talk page comments, I can drum up some interest in helping out. --Quuxplusone 05:04, 4 December 2006 (UTC)

Regarding the functional languages: I would like to keep both the Haskell and Scheme examples (translating the Ocaml to Haskell if it is a pure algorithm, otherwise to Scheme) because they follow different schools of minimalist functional programming: Haskell is a much more pure, much theoretically cleaner language, wheras Scheme is more of a jack-of-all-trades, as functional languages go. For example, take continuations. Scheme supports these natively, but while Haskell also supports a continuation monad, the Cont monad scares and confuses the hell out of me, and it's (even further?) beyond the scope of an average reader. If, however, we slim it down to just one functional language we write examples of algorithms in, I would like it to be Haskell.

Another couple of random points: how about we make a distinction between code demonstrating an algorithm (ie, that would also be perfectly well demonstrated with pseudocode), and between code demonstrating a specific syntax or feature? ISTM that this is something of an important difference (about as great as the specification vs the implementation), but they're currently in the same categories. I believe we'd have far more algorithic examples than we would for syntactic demonstration - however, the syntactic examples would probably use a more diverse set of languages. Taking this a step further, we could (and probably should) write all the algorithmic example code in the same language, for consistency's sake. I don't, personally, like having algorithms demonstrated in C - the low-level details tend to obscure the view in ways high-level languages don't.

On syntax highlighting: it's a pain to edit. Find the prettiest example code on the wiki you can, and look at the wikitext. AARGH! How difficult would it be to automate this highlighting for a few specific languages? Eg,

{{Example Python Code|
def foo(bar):
    print bar + 1
}}

would result in something like:

<div class="examplecode">
<span class="examplecode-keyword">def</span> foo(bar):
    <span class="examplecode-keyword">print</span> + <span class="examplecode-number-literal">1</span>
</div>
[[Category:Articles with example Python code]]

Of course, the classes would be defined in the site CSS to have a default colour and stuff, but people could override them in their CSS files to match their preconceptions of what code looks like. Would this require a special parsing hook on the server? Or could a sufficiently convoluted template be constructed? --Abednigo 00:11, 9 December 2006 (UTC)

Another random point I forgot to make: I figure I might as well put forward a 'use case' for the categories beyond just bookkeeping. The One True Holy And Original Reason I began these categories was because there was this source-code based wiki I was taking a peek at and I read something there about how Wikipedia had lots of source code for algorithms on it but very little means of finding them. I thought some categories for this would be a good idea. If we remove sizeable snippets from WP for consistency or popularity or whatever other reasons snippets might need to be removed for, maybe we could instigate some sort of transwiki process? --Abednigo 00:20, 9 December 2006 (UTC)
And it might also be a good idea if I included a URL. http://en.literateprograms.org/LiteratePrograms:Welcome is probably the place that got me thinking, though I believe there are other such sites. --Abednigo 00:23, 9 December 2006 (UTC)
It is my opinion that there should be no real code in algorithm articles. See Wikipedia:Algorithms_on_Wikipedia#Code_samples: ...avoid writing sample code unless it contributes significantly to a fundamental understanding of the encyclopedic content. Most code examples should go to wikibooks:Algorithm_implementation. There should be easily understandable psedocode, on a level of detail suitable for showing the important aspects of the algorithm. In pseudocode for a graph algorithm, the concept of nodes and edges should be used, probably without regard to how the data structures are implemented. See for example the Ford-Fulkerson example at the top of Wikipedia:Algorithms_on_Wikipedia. When explaining a DP algorithm, or something which works on strings, a more low-level notation which involves array indexing is needed. Preferably, this notation for variables etc. should be "formal enough" for it to be used in the rest of the article too, for example in recurrences showing the idea behind DP solutions. The notation should also be reasonably uniform across algorithm subtopics. Klem fra Nils Grimsmo 20:37, 14 December 2006 (UTC)

Wikipedia Day Awards

Hello, all. It was initially my hope to try to have this done as part of Esperanza's proposal for an appreciation week to end on Wikipedia Day, January 15. However, several people have once again proposed the entirety of Esperanza for deletion, so that might not work. It was the intention of the Appreciation Week proposal to set aside a given time when the various individuals who have made significant, valuable contributions to the encyclopedia would be recognized and honored. I believe that, with some effort, this could still be done. My proposal is to, with luck, try to organize the various WikiProjects and other entities of wikipedia to take part in a larger celebrartion of its contributors to take place in January, probably beginning January 15, 2007. I have created yet another new subpage for myself (a weakness of mine, I'm afraid) at User talk:Badbilltucker/Appreciation Week where I would greatly appreciate any indications from the members of this project as to whether and how they might be willing and/or able to assist in recognizing the contributions of our editors. Thank you for your attention. Badbilltucker 17:50, 30 December 2006 (UTC)

New formatting tag

There is now a new tag available: <syntaxhighlight lang="">. It can cope with many languages right now, and can be extended if necessary to cover new ones. HTH HAND —Phil | Talk 09:17, 16 May 2007 (UTC)

However, it has a bunch of problems that need to be resolved before it can actually be used in Wikipedia articles. For starters:
  1. The default color schemes are inconsistent between languages — Perl comments are colored differently from C++ comments, for example.
  2. The default color schemes are unreadable due to poor contrast and poor choice of letter shapes — Perl comments display in light gray on white, which is unreadable, and in Courier italics, which are next to illegible.
  3. The default color schemes include underlining, which could be confused with wikilinking.
  4. The extension does not support wikilinking within <syntaxhighlight lang=""> tags; thus, it is impossible to wikify comments, or link a use of the printf function to the Wikipedia article on printf.
  5. The extension "supports" many languages which it cannot parse correctly, such as Perl. Incorrect syntax highlighting can be worse than no syntax highlighting at all.
  6. Last but not least, the default color schemes are just plain hideous. They correspond to no color scheme known to man; they aren't logically designed; they emphasize the wrong parts of the program.
An obligatory illustration of problems 2, 3, 5, and 6:
map print(($_>400?"TOO LARGE":$_).$/),reverse map 5*($x=<>)**3+sqrt abs$x,1..11
Until these problems are fixed — and who knows how long that will take? — please please please do not add <syntaxhighlight lang=""> tags to any article in the English Wikipedia. Use the existing <code> mechanism, and categorize the article in Category:Articles with example code if necessary — it's an inferior substitute for a tag-based system, but it'll have to do, for now. --Quuxplusone 05:49, 18 May 2007 (UTC)
Two more comments: (1) The syntax highlighting for Python is bad, but not awful; that's the closest to acceptable any of the defaults come right now, as far as I've seen. (2) You can write <code lang="pascal"> and MediaWiki will ignore the unrecognized "lang=" with no ill effects; therefore, I suggest using a "lang=" parameter in new <code>, in preparation for the glorious day when it actually does something. --Quuxplusone 06:07, 18 May 2007 (UTC)
The angry fruit-salad of the source tags can be fixed through css, and a bug has been committed to aid in making this easier. Please comment or vote at bugzilla:9951. AmiDaniel (talk) 09:02, 18 May 2007 (UTC)
The above "bug" has now been closed and a new page introduced: MediaWiki:GeSHi.css. This will allow for site-wide alterations to the colour scheme; personal CSS pages may be used for adjustment to user's personal requirements as usual. HTH HAND —Phil | Talk 15:08, 20 May 2007 (UTC)
Phil: The CSS thing doesn't seem to work (yet?). If you would, please take a look at MediaWiki talk:GeSHi.css and tell me what I'm doing wrong. :) Do you know if anyone's tried to tackle the other problems ("bugs" :) yet? Namely: (4) lack of wikilinking, (6*) nasty red error messages when given an unrecognized language. --Quuxplusone 20:42, 20 May 2007 (UTC)

So now there are how many ways to present code-like text?

  • pre
  • code
  • source
  • tt
  • leading spaces

And they all do different things? Is there a clear description of what each does? (don't forget word-wrap). — Omegatron 00:37, 10 August 2007 (UTC)

Programming language article style guide?

Is there a style guide for what information should be presented in a programming language article? If so, I imagine this project article would be the right place for it. --IanOsgood 16:56, 5 July 2007 (UTC)

Found it on the CS project page and copied it over. Is it still up-to-date? --IanOsgood 17:02, 5 July 2007 (UTC)
Well, I think most people didn't know it existed (I didn't). But there's nothing wrong with putting it here. --Ideogram 02:44, 6 July 2007 (UTC)

Ferite proposed for deletion

An article that may be of interest to this WikiProject, Ferite (the "Ferite" programming language) has been listed for Deletion. deletion. If you are interested in the deletion discussion, please participate by adding your comments at Wikipedia:Articles for deletion/Ferite. Thank you. -- Dominus 20:53, 11 August 2007 (UTC)

Ferite at Wikipedia:Articles for deletion/Ferite (11 August 2007 – 16 August 2007) Deleted

updated --User:Ceyockey (talk to me) 01:03, 31 December 2007 (UTC)

Code tag underscore problem, revisited

The most critical problem with <code> is probably that it makes underscores disappear — I'm pretty sure it didn't always do that, but it started having the problem a year or so ago. Here's a fix, thanks to User:William Graham:

void oh_no_no_underscores()
{
    puts("Boo_no_underscores!");
    puts("Boo_no_underscores!");
}

void this_is_how_things_should_be_done()
{
    puts("Hooray_underscores!");
    puts("Hooray_underscores!");
}

Now, is anybody here clever enough to get the <code> tag to adjust the line height to >=1.3 automatically?

If so, could that same someone also get rid of the trailing newline (fixed above by putting the closing </code> tag on the same line as the closing curly brace, when it really ought to go on the next line down)? --Quuxplusone 02:23, 15 September 2007 (UTC)

Proposed deletion: W.I.D.

W.I.D. (via WP:PROD on 28 September 2007) Deleted

--User:Ceyockey (talk to me) 02:08, 26 September 2007 (UTC)
updated --User:Ceyockey (talk to me) 01:00, 31 December 2007 (UTC)

Proposed deletion: PHAML

PHAML (via WP:PROD on 12 October 2007) Kept

--User:Ceyockey (talk to me) 02:59, 12 October 2007 (UTC)
updated --User:Ceyockey (talk to me) 20:33, 20 October 2007 (UTC)

Proposed deletion: Ddbg

I think that debuggers for programming languages might fall within the scope of this WikiProject. Would you agree?

Ddbg (via WP:PROD on 21 October 2007) Deleted

--User:Ceyockey (talk to me) 20:35, 20 October 2007 (UTC)
updated --User:Ceyockey (talk to me) 00:58, 31 December 2007 (UTC)

Notice of List articles

Page(s) related to this project have been created and/or added to one of the Wikipedia:Contents subpages (not by me).

This note is to let you know, so that experts in the field can expand them and check them for accuracy, and so that they can be added to any watchlists/tasklists, and have any appropriate project banners added, etc. Thanks. --Quiddity 20:22, 5 November 2007 (UTC)

Proposed deletion: Semantics-directed Environment Adaptation Language

Semantics-directed Environment Adaptation Language (via WP:PROD on 15 December 2007) Deleted

--User:Ceyockey (talk to me) 11:48, 14 December 2007 (UTC)
updated --User:Ceyockey (talk to me) 00:59, 31 December 2007 (UTC)

Article for deletion: HotBasic

HotBasic at Wikipedia:Articles for deletion/HotBasic (3 December 2007)

--User:Ceyockey (talk to me) 00:56, 31 December 2007 (UTC)

MKR (programming language) - Expert help request.

Does anyone have any time available to take a look at this one. As you will see from the Afd discussion there are (sometimes strong) views on the issue of reliable sources. The formatting of the article also needs help from an expert. Thanks. – ukexpat (talk) 21:01, 25 June 2008 (UTC)

Commenting again to bump this on people's watchlists. The AfD could really use some knowledgeable eyes. Ford MF (talk) 18:54, 27 June 2008 (UTC)

A discussion

An important discussion on " Should WikiProjects get prior approval of other WikiProjects (Descendant or Related or any ) to tag articles that overlaps their scope ? " is open here . We welcome you to participate and give your valuable opinions. -- TinuCherian (Wanna Talk?) - , member of WikiProject Council. 14:54, 8 July 2008 (UTC)

Expert input requested on this article. Thanks. -- Levine2112 discuss 01:08, 22 July 2008 (UTC)

Archive 1Archive 2Archive 3