Talk:Dynamic array
From Wikipedia, the free encyclopedia
[edit] Language of example
What language is the example in. Fresheneesz 02:30, 10 June 2006 (UTC)
- Pseudocode. Deco 04:51, 10 June 2006 (UTC)
- Ok, but its not very clear what the difference between the
=
operator and the:=
operator is - at least for me. Fresheneesz 10:33, 10 June 2006 (UTC):=
is a conventional operator for assignment.=
refers to equality. In this case I think the context makes it obvious. I'd considered using ← for assignment but that's somewhat harder to edit. Deco 21:08, 10 June 2006 (UTC)
- Ok, but its not very clear what the difference between the
-
-
-
- I don't know how the use of = as equality is obvious here - especially to programmers who never learned any pseudo code. And in that case, is this line wrong then?:
-
-
a.capacity = a.capacity × 2
-
-
-
- May I suggest we switch to a *real* language, pseudo code always makes the syntax seems unreliable (not always the same), and real code is easier to look up. Fresheneesz 23:59, 10 June 2006 (UTC)
- You might be interested in Wikipedia:Algorithms on Wikipedia. I would be amused if you attempt to change the guidelines to use the One True Programming Language rather than pseudocode. --68.0.120.35 09:12, 5 March 2007 (UTC)
- Ha. I'm not gonna pull that kinda stunt. Maybe I would if my programming language ever gets on wikipedia. : ) Fresheneesz 07:12, 8 March 2007 (UTC)
- You might be interested in Wikipedia:Algorithms on Wikipedia. I would be amused if you attempt to change the guidelines to use the One True Programming Language rather than pseudocode. --68.0.120.35 09:12, 5 March 2007 (UTC)
- May I suggest we switch to a *real* language, pseudo code always makes the syntax seems unreliable (not always the same), and real code is easier to look up. Fresheneesz 23:59, 10 June 2006 (UTC)
-
-