Talk:Array: Difference between revisions

Abstract description will serve better than code, I think.
(Encyclopedia and formality)
(Abstract description will serve better than code, I think.)
Line 14:
 
:The example shown does not clearly demonstrate all the qualities of an array mentioned in the description. For instance, the description states that it is illegal to exceed the upper bound of an array. The example does not demonstrate any check for bounds overflow. The discussion does not indicate what happens to an array when the lower bound is violated. I think it would be good to provide an example more completely demonstrating the behaviors of an array.--[[User:Waldorf|Waldorf]] 16:39, 5 January 2008 (MST)
 
::I share Waldorf's dissatisfaction with the example code. To reiterate my comment from last week, I doubt that this topic can be properly approached through code examples. Mind you, I love seeing assertions made in code; that's part of why I rely on J. This article should be accessible to everybody; it should not require knowledge of any computer language. So, the contents should be highly abstract and applicable to as broad a range of languages as possible. --[[User:TBH|TBH]] 12:38, 8 January 2008 (MST)
Anonymous user