Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!sunic!enea!sommar From: sommar@enea.se (Erland Sommarskog) Newsgroups: comp.lang.ada Subject: Re: Ada functions versus arrays (i.e. () vs [] ) Message-ID: <848@enea.se> Date: 6 Mar 90 19:13:21 GMT References: <184@trwacs.UUCP> <598@software.software.org> <5619@crdgw1.crd.ge.com> Organization: Enea Data AB, Sweden Lines: 8 I think the main reason that Ada does not use [] for array indexing is that symbols like () are far easier to read than using letters like C does. Of course Ada could have used something like (..) as Pascal permit, but it feels clumsy. And the flexibility aspect of being able to switch between an array and a function is not to be disregarded. -- Erland Sommarskog - ENEA Data, Stockholm - sommar@enea.se