Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.c Subject: Re: Which code style do you prefer the most? Date: Sun, 2 Mar 2025 22:07:57 -0000 (UTC) Organization: A noiseless patient Spider Lines: 16 Message-ID: References: <5K%wP.111375$_N6e.32377@fx17.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 02 Mar 2025 23:07:57 +0100 (CET) Injection-Info: dont-email.me; posting-host="4879a8900fe2dd21742e8795ad5f83f5"; logging-data="1017670"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pekBd4jziJ9fivQeTw976" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:gpYBVfdChBYtqjynhgkX4XsE0oo= Bytes: 2244 On Sun, 2 Mar 2025 17:50:07 +0100, Janis Papanagnou wrote: > (I didn't know that DEC supported a Pascal dialect.) It was a pretty remarkable one (at least with version 2 onwards of the compiler; the earlier version 1 was a pretty boring vanilla Pascal). It had various extensions for things like controlling the layout of fields within a record (“struct” to those who only know C), specifying global/ external symbols independently of program-internal names for things, even controlling procedure-calling and argument-passing conventions. In short, it was ideally suited to writing systems-oriented software on VMS. Today’s GCC has a similarly rich repertoire of attribute controls, but I don’t know of anything in-between the two that did.