3 ms·
”The idea that a certain programming language could be proven to be more productive than another is laughable.” I disagree. In the extreme, take python on the
by Someone 8y ago
”The idea that a certain programming language could be proven to be more productive than another is laughable.”
I disagree. In the extreme, take python on the one hand and a variant of brainfuck that requires the hash (could be as simple as CRC-32 or as hard as SHA-256) of every source file to be zero on the other.
I don’t think you have to go that far to get provable differences, though. Some features that, I think, can fairly easily be proven to make programmers more productive in large parts of the space of programming tasks:
- assembler macros
- variable names that can have more than two characters
- direct support for floating point
- support for complex numbers
- local variables
- structures
- support for serialization and deserialization. Compare the way one can make simple structures serializable using Swift’s Codable protocol to whatever is ‘best’ for C (probably something macro-based)
- generics
- support for Unicode strings
- iterators
Of course, “python vs Java” or “python vs Perl” are much closer races where I expect measuring differences is way harder and results will depend on problem domain, experience of the subjects of the study, number of good and bad answers on StackOverflow, etc, but even for ‘normal’ languages, I expect some conclusions to be possible, given enough effort is spent. Python 1.0 didn’t have complex numbers, for example, so if your program needed them, python 1.4 was a huge improvement.
I doubt evaluating productivity of languages is worthwhile, though.