News for hackers. Stuff that matters.
Re:Trump Just Signed a Law That Changes Life Aboard Airlines by gmueckl on Saturday October 13, 2018 @02:17AM (#18206703)
This is actually an easy problem to solve: define a list of extras in the standard including fees. The structure for each extra can be pretty rigid. Something like e.g.

short-name: Tray fee

long-name: You get a foldable tray for seat to use during the flight.

price: 39,99

includes-tax: false

This is basic data modeling, really. Tne real thing would probably have closer to 50 well defined fields instead of 4 because of real-world self-inflicted complexity in the system, but the concept is the same.

There are no comments on this comment yet.