On Mon, 2017-05-29 at 16:18 -0400, Steve Lionel wrote:
> t would be especially helpful to elaborate if the item is as ambiguous
> (to me, anyway) as "generic programming".
We had parameterized modules on the work plan briefly.
Then we had macros on the work plan briefly.
There are detailed papers about both of them in the j3 archive.
People aren't rushing from Fortran to C++ to get the C preprocessor.
They want templates. I still prefer parameterized modules, which were
modeled on Ada Generic Packages, which have been around since 1983.
They were in the Strawman requirements in 1976.
If we had done parameterized modules decades ago, we probably wouldn't
have done parameterized derived types, at least not ones parameterized
with kind type parameters. And we wouldn't have the lack of integration
between them and type-bound procedures. Length type parameters are very
terse syntactic shorthand for allocatable components. Nice, but we
probably wouldn't have done them either.
|