Sujet : Re: The joy of FORTRAN
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : alt.folklore.computers comp.os.linux.miscDate : 28. Feb 2025, 03:34:52
Autres entêtes
Message-ID : <m2clmbFl430U10@mid.individual.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
User-Agent : Pan/0.160 (Toresk; )
On Thu, 27 Feb 2025 11:43:51 +0000, The Natural Philosopher wrote:
When all you had was Macro assembler, writing a good library of Macros
gave you almost a high level language, except it wasn't portable.
C *was* portable, mostly.
And it was faster to write than Macros assembler. It was really a no
brainer.
Sadly, macros made their way into C. The basic idea was fine but we had
one programmer who laid awake nights thinking up new perverted things to
do with macros. I forget if it was Kernighan or Ritchie who later said if
they had only known what people would do with them...
C++ doubled down with inline functions.