We definitely attempted to write the best code as we could given the circumstances, but we had issues doing so:
* airline margins are razor thin, so salaries are comparatively low, which means
* the best employees frequently left for other opportunities, causing
* management to institute an over-reliance on process and tech debt from poor engineers to build up like crazy, and then
* management's priority was always "keep the lights on" rather than repay any tech debt or start new ventures.
Eventually we were working on an unmaintainable codebase, spending way too long to ship each feature, and the situation was not improving.
It was not a wonderful environment to work in (hence my departure).