Re:Airlines Are Running Out of Flight Numbers, and They Don'...
by lxgr on Monday August 05, 2024 @03:00AM
(#41158744)
Having multiple prefixes per airline doesn't seem trivial, given that this historically wasn't a thing. I could imagine a bazillion code snippets of
that might be incredibly painful to fix on short notice.
[ Parent
| on HN ]
Re:Airlines Are Running Out of Flight Numbers, and They Don'...
by charrondev on Monday August 05, 2024 @10:22AM
(#41161616)
At least the pain only has to be dealt with by the companies that wrote code like that?
Re:Airlines Are Running Out of Flight Numbers, and They Don'...
by drdaeman on Monday August 05, 2024 @03:22PM
(#41164509)
Searching a large codebase for a constant (like "DL", plus tracing all related variable use if something is assigned this or related value), and replacing the logic is a relatively easy kind of change. Especially in the modern day when we got all those nice semantic analysis and code transformation tools.
Especially if they got proper tests.
Certainly way easier than replacing use of a deprecated API (and people do this kind of stuff all the time).