It depends on the code. If it is mission critical and has to be updated, companies will update their code only when there is a need to do it.
Otherwise, it is write fast and retire fast. You write a small service, use it for a period of time, enhance it if required and retire it at end of life.