Wikipedia talk:WikiProject Programming languages: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 86:
::Maybe a visit to [[Wikipedia:WikiProject Programming Languages]] would be in order? --[[User:Phil Boswell|Phil]] | [[User talk:Phil Boswell|Talk]] 08:24, May 7, 2004 (UTC)
----
==Infoboxes==
Somehow I've got it in my head that [[programming paradigm|paradigm]] is a good way to categorize programming languages. Here are some possible infoboxes (modeled on the impeccable [[Greek mythology|Greek]]/[[Roman mythology]] boxes).
{| align="left" style="background:ivory; margin: 0 0 0.5em 1em;" id="toc" width=210
|-
!style="background:lightgrey" align="center" colspan=2|[[Procedural programming|Procedural]]<br />[[programming language|programming languages]]
|-
| style="vertical-align: top;" |
*[[C programming language|C]]
*[[Basic programming language|BASIC]]
| style="vertical-align: top;" |
*[[Perl]]
|}
{| align="right" style="background:ivory; margin: 0 0 0.5em 1em;" id="toc" width=210
|-
!style="background:darkseagreen" align="center" colspan=2 |[[Object-oriented programming|Object-oriented]]<br />[[programming language|programming languages]]
|-
! colspan=2 | Purely object-oriented
|-
| style="vertical-align: top;" |
*[[Smalltalk programming language|Smalltalk]]
| style="vertical-align: top;" |
*[[Ruby programming language|Ruby]]
|-
! colspan=2 | Partially object-oriented
|-
| style="vertical-align: top;" |
*[[C plus plus|C++]]
| style="vertical-align: top;" |
*[[Python programming language|Python]]
|-
! colspan=2 | Frankenstein object-oriented
|-
| style="vertical-align: top;" |
*[[Perl]]
| style="vertical-align: top;" |
|}
<br clear=all />
However, categorizing by [[Template_talk:List_of_programming_languages#Categorizing languages genetically|heritage]] is also good:
{| style="margin-top: 1em; margin-left: auto; margin-right: auto;" id=toc
!align=center|[[C programming language]] family
|-
|align=center style="font-size: 90%;"|[[C programming language|C]] | [[C plus plus|C++]] | [[Objective-C]] | [[Java programming language|Java]] | [[C sharp|C#]]
|-
|align=center style="font-size: 90%;"|[[List of programming languages]]
|}
*Each '''language''' page should have a box of similar languages, which are grouped according to whatever classifications we choose (e.g. paradigm, heritage).
**This might involve multiple boxes though: for multiple classifications, or, for multiple paradigms, or both. That can get messy.
But, you might want to include both:
<nowiki>{{</nowiki>Programming_language_begin}} // opens table
<nowiki>{{</nowiki>Programming_language_paradigm_procedural}} // header+rows
<nowiki>{{</nowiki>Programming_language_heritage_C}} // header+rows
<nowiki>{{</nowiki>Programming_language_end}} // final row+closes table
This produces something like the following:
{| align="right" style="background:ivory; margin: 0 0 0.5em 1em;" id="toc" width=210
|-
! colspan=2 style="background:lightgrey" align="center"|[[Procedural programming|Procedural]]<br />[[programming language|programming languages]]
|-
| style="vertical-align: top;" |
*[[C programming language|C]]
*[[Basic programming language|BASIC]]
| style="vertical-align: top;" |
*[[Perl]]
|-
! colspan=2 style="background:lightsteelblue" align="center"|[[C programming language]]<br />family
|-
| style="vertical-align: top;" |
*[[C programming language|C]]
*[[C plus plus|C++]]
*[[C sharp|C#]]
| style="vertical-align: top;" |
*[[Objective-C]]
*[[Java programming language|Java]]
|-
| colspan=2 align=center style="background:palegoldenrod; font-size: 90%;"|[[List of programming languages]]
|}
<br clear=all />
Any thoughts? --[[User:Yath|Yath]] 22:03, 8 Aug 2004 (UTC)
|