From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: Java and Python have just discovered "record" type finally after 40 years. Date: Sun, 14 May 2023 10:43:50 +0100 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 14 May 2023 09:43:50 -0000 (UTC) Injection-Info: dont-email.me; posting-host="9f5f0ffcd3b54a75a54b71a625df15a8"; logging-data="2737678"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/cgdJC/XPQqkXfnTG9gz1jlFa0LuxxNg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Cancel-Lock: sha1:f8zokymjoWMgs7gwaHXhmQLMsRY= In-Reply-To: Content-Language: en-GB Xref: news.eternal-september.org comp.lang.ada:65225 List-Id: On 14/05/2023 07:46, J-P. Rosen wrote: > AFAIR, COBOL didn't have types, but you could define a variable LIKE > another one. > >> However, Wikipedia says that the COBOL record structure inspired >> records for Pascal. >> >> Early LISP languages did not have record types, AFAIK. But you could >> of course use lists to program record-like data structures. > Of course, in LISP there is only one structure, for data and programs > alike: the list! > TBH, I don't really remember anything of COBOL apart from pictures and columns.