Talk:String (computer science): Difference between revisions

Content deleted Content added
strings, not characters: language and aiming
Line 45:
:::But (unfortunately?) the word "vector" in computer science is most often used to refer to a variable-sized storage (see [[std::vector]]), while the word "array" is used to refer to the fixed-sized objects you are talking about. (In linear algebra libraries the word "vector" is used for fixed-sized objects, but these also demonstrate unusual (for programming) properties such as addition doing a component-wise action rather than an append operation).[[User:Spitzak|Spitzak]] ([[User talk:Spitzak|talk]]) 17:09, 4 March 2011 (UTC)
 
:: Yes, I know, it's a disaster. The designers of the C++ STL must have been rather ignorant, or why would you create that kind of mess otherwise, with concepts turned upside down? They could have called it ''dynamic array'', ''string of'' ''type'', or whatever; the well defined term ''vector'' was really the worst possible choice and the worst kind of hijacking of words. If they actually knew what they did, I guess they must have been inspired by the arrogant "C-syntax" (B→C→C++→Java etc), which, when spread to the world of webb languages some 15 years ago, caused the equality symbol to suddenly lose its meaning in large circles, a symbol that has been established in both mathematics and everyday use since hundreds of years. Too many young (or uneducated) people are now using == and != instead of = and ≠, alsoin outsideany thateveryday world,context (mathematics next...?) and, worse, they would interpret the equation ''a''=''b'' as a definition (or a /mutation)/initializing of ''a'', by default...
 
::I can't see why Wikipedia shouldn't do what it can to clarify backgrounds like this. I belive it is crucical to illustrate "misunderstandings" and unessescary discrepancy in terminology among branches of science, so more people can see that there are other conventions than the most vulgar ones that one may want to adhere to. It does not conflict with the goal of describing actual usage and terminology or with "following the sources", as there are many kinds of sources, and plenty of room for elaborations on Wikipedia.