by scarygliders · 4y ago · 0 comments
- Does that COBOL code do the thing(s) it's supposed to in a reliable and 100% predictable way?
My guess is : Yes it does.
So let's go down your path. You rewrite that COBOL program using your hot new recent language of choice. How many new bugs will be introduced? What other risks are there in this new language; CVEs? RCEs? Simple coding bugs which could cost that bank millions/billions/trillions - or just as bad, the bank's customers their savings/livelihoods?
Which New Hotness language would you rewrite that crusty old COBOL application in?
Rust? [0] Golang? [1] Something else?
There are times when it's better to leave the New Hotness to some new application rather than trying to replace a known reliable/predictable system with New Hotness. Especially for banking.
[0] https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=rust [1] https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=golang
Rust might be the sexy language but surely Erlang or Haskell would be the wise choices?
For the bank example, if you’re given another system to sync with and you’re still full COBOL, I’d assume it’s just a whole world of pain for years and years. Meanwhile the other banks move forward and integrate newer systems way faster and in more secure ways than you do, directly affecting your business.
Big bang rewrites are dangerous, gradual migration is a better plan for larger systems.
I think we're on the same page. Yes, it needs to be gradual, and devs need to become familiar with new languages, which is why I am proponent of slowly "modernize" old stacks even if there is no immediate need to do it.