Although scientists and engineers often write large amounts of code, they typically don’t program for the web. Why?
It’s not unusual for desktop applications to continue working for many years after they are unsupported and abandoned. For web applications, this doesn’t hold, partly because they are vulnerable to various kinds of attacks.
This inherent vulnerability requires having security policies. There’s also the issue of adhering with privacy laws. It’s much easier to get away with such paperwork when you make an application that runs locally on the user’s computer.