3 ms·
> Is there a code example where Cobol shines in comparison to, say, Python? Yes, processing (like tabulating) fixed-size records (like punch cards) with hierar
by js8 7y ago
> Is there a code example where Cobol shines in comparison to, say, Python?
Yes, processing (like tabulating) fixed-size records (like punch cards) with hierarchical structure. You can do that with Python's struct module but it might be more readable in COBOL.
Other than that somewhat domain specific task, no. Python has a lot more features and is a lot more general language.