CZ Talk:Code
Jump to navigation
Jump to search
Purpose of code pages
This does need to be corrected--CZ:Code pages are intended to include samples of code, to illustrate how languages are used, or to give examples of algorithms. Their use is pretty much limited to computer science articles. They are not used to supply the code for the articles themselves. --Larry Sanger 09:06, 24 May 2008 (CDT)
- Where would be the proper location for the code used to produce illustrations, etc? J. Noel Chiappa 16:27, 24 May 2008 (CDT)
- I'm not sure whether CZ should contain such a technical documentation. Even research/quite technical papers in some "numerical" domains tend to describe the methods and not the code. My instinct is that long pieces of code are next to useless in a general purpose encyclopaedia. I'd support the use of snippets or (preferably short) code examples in contexts suggested by Larry. Aleksander Stos 15:55, 27 May 2008 (CDT)
- Noel: Codes should be stored in (name of the article)/code or (name of the figure)/code or, if several files, (name of the figure)/code/(name of the program). The simplest figure should be used for naming the code, if the same subroutine is used to generate several figures. Codes should be optimized for their length and human readability (not for CPU time). Dmitrii Kouznetsov 14:44, 4 August 2008 (CDT)
- I'm not sure whether CZ should contain such a technical documentation. Even research/quite technical papers in some "numerical" domains tend to describe the methods and not the code. My instinct is that long pieces of code are next to useless in a general purpose encyclopaedia. I'd support the use of snippets or (preferably short) code examples in contexts suggested by Larry. Aleksander Stos 15:55, 27 May 2008 (CDT)