tomw,
@tomw@mastodon.social avatar

All UK addresses can be expressed as:

Name
[Flat No.]
House No.
Postcode

Street and Town/City are not required but are recommended - they help resolve typos and such. But people insist on writing addresses out like this:

Name
[Flat No.] [Building Name]
123 Street Name [or House Name then Street!]
Small District
Larger District
Town/City
County
Postcode

If you don't give them enough fields to do this then they will take a terrible revenge on your data.

tomw,
@tomw@mastodon.social avatar

Postcodes are a great invention. I guess the problem here is that people do not realise how much information a postcode encodes. Each one is (usually...) either a street or a section of a street.

tomw,
@tomw@mastodon.social avatar

The 'correct' database thing to do here, I think, assuming you are only handling UK addresses, would be to try to standardise on:
Name
Flat/House No./Name
Street
Town
Postcode

But in practice every system I see sadly ends up with something like:
Name
Address1
Address2
Address3
Address4 or sometimes Town
Address5 (rarer)
Postcode

dan,
@dan@danq.me avatar

@tomw Often, but not always, these database systems are designed with the hope that they'll work in many different countries (with different addressing systems) if there's "enough" fields.

Then when people DO write UK-specific systems, they just copy what they saw elsewhere (CS class, StackOverflow, some other application...) and you end up with all these "address lines" again.

tomw,
@tomw@mastodon.social avatar

@dan Yeah – worse, you see UK as a thin translation layer (at best) for what is "zip codes" etc internally, and does some completely wrong things. Like Nationbuilder stripping leading zeroes from phone numbers, which I bet it does to this day.

nickbwalking,
@nickbwalking@zirk.us avatar

@tomw have noticed autofill has now moved on from asking for postcode and street number to just "type your address"

tomw,
@tomw@mastodon.social avatar

@nickbwalking Yeah, they can (usually) match from either end now, so typing a postcode works but so does just typing the address.

I still think take postcode then choose from a list is faster but only if (big if!) it's implemented well.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • khanakhh
  • magazineikmin
  • osvaldo12
  • GTA5RPClips
  • mdbf
  • Youngstown
  • tacticalgear
  • slotface
  • rosin
  • kavyap
  • ethstaker
  • everett
  • thenastyranch
  • DreamBathrooms
  • megavids
  • InstantRegret
  • cubers
  • normalnudes
  • Leos
  • ngwrru68w68
  • cisconetworking
  • modclub
  • Durango
  • provamag3
  • anitta
  • tester
  • JUstTest
  • lostlight
  • All magazines