3 ms·
I think it would only be like Pascal or Ada on the surface. They both have too consistent of a model to be designed by a non-programmer. Pascal, for instance,
by Jtsummers 5y ago
I think it would only be like Pascal or Ada on the surface. They both have too consistent of a model to be designed by a non-programmer.
Pascal, for instance, is more like Scheme: Reduce a procedural language to its core concepts and build on top of that. No non-expert would design something meant to used to compositionally like that, it requires a particular mental model they'd lack.
Ada had an advanced (especially for when it was developed and for a procedural language) type system, a comprehensive module system, generics, a task system, and protected objects (thread safe objects) from the start. All of those are things you'd have to recognize a need for and how they would be used which a non-expert would likely not come up with (though an expert may come up with as an answer to a non-expert's requirements).
Probably the only thing coming from Ada that a non-developer may think of (and they'd be brilliant for it) would be the ability to use an arbitrary range for indexing into arrays, including arbitrary discrete types (I actually hate that no mainstream language permits this). They might also come up with ranged types like being able to specify Alphabet as 'a' to 'z' (or 'A' to 'Z').