Talk:Array Initialization

From Rosetta Code
Revision as of 15:35, 30 June 2009 by rosettacode>ShinTakezou (→‎Bump: del AWK)

Does this task mean to create an array using literals? "With data" doesn't register as anything for me. --Mwn3d 09:33, 4 June 2008 (MDT)

I think this page should be removed as a duplicate Grauenwolf 05:22, 25 December 2008 (UTC)

I think it looks like a dupe too. Maybe it could just be changed to a redirect to Creating an Array? --Mwn3d 01:49, 16 April 2009 (UTC)
I agree. --IanOsgood 14:56, 16 April 2009 (UTC)
I'll leave it the way it is for another day or two in case anyone else wants to chime in. If no one else says anything I'll redirect the page. --Mwn3d 15:17, 16 April 2009 (UTC)
At least Fortran and Smalltalk example should be integrated into Creating an Array, since they show something not shown there (should we add to the task "the goal is to create and initialize an array" or lose the code since that task does not specify how much of an array creation/initialization should be shown). Currently I have few time to do a good enough job different by copy-pasting. --ShinTakezou 16:46, 16 April 2009 (UTC)
Times ago I've "merged" Fortran and Smalltalk original code into Creating an Array, so that this page can be a step nearer redirecting without losing codes related to arrays (at least, for Fortran and Smalltalk). --ShinTakezou 13:09, 27 April 2009 (UTC)
Does anyone else see anything that needs to be saved from this page? It can be deleted as long as no one wants to save anything. --Mwn3d 05:44, 28 May 2009 (UTC)
At least ADA and AWK seem to have some more information here. And maybe Common Lisp, D etc. Maybe all the languages should be checked. --PauliKL 08:04, 28 May 2009 (UTC)
The task description of Creating an Array should be updated to include array initialization. In addition, the task description there says "numeric arrays", while here other types such as strings are discussed, too. --PauliKL 08:04, 28 May 2009 (UTC)
By "numeric array", they simply meant the standard type of array that uses a numeric index (as opposed to so-called "associative array" which is actually a map having a potentially more complex key). I'd be happy deleting that "numeric array" red link. --IanOsgood 15:15, 28 May 2009 (UTC)
Maybe it should be "numerically-indexed array", as it was called in the talk page. --PauliKL 15:22, 28 May 2009 (UTC)

Bump

We still need resolution on this. Move code you want to keep to Creating an array and mark it here when you're done. If no one says anything about left over languages for a long time we can pastebin the code somewhere or just get rid of it. --Mwn3d 14:41, 30 June 2009 (UTC)

Languages that need to be checked:

  1. Ada
  2. ALGOL 68
  3. AWK
  4. AutoHotkey
  5. C++
  6. Common Lisp
  7. D
  8. E
  9. Fortran
  10. F#
  11. Groovy
  12. Haskell
  13. Mathematica
  14. MAXScript
  15. Modula-3
  16. Perl
  17. Python
  18. Ruby
  19. Slate
  20. Smalltalk
  21. Tcl