Hacker News new | ask | show | jobs
by nurblieh 1231 days ago
I see some comments comparing C++ to COBOL, given similar articles in the past. However, this is where I think COBOL is much better than C++!

Most developers could jump into a 40 year old COBOL codebase and safely make changes. This is probably less true for even a 20 year old C++ codebase. Sure COBOL looks old but its complexity is so much lower.

Similarly, I haven't written COBOL in 25 years but I suspect the language hasn't changed much, unlike C++.

1 comments

I think you’re right: COBOL is boring, C++ is exciting in terrible ways! It would take time to understand why COBOL was written the way it was but you’d need to understand that with any legacy app, but C++ also introduces a lot of arcane language complexity to learn just to understand the business logic.