Live data from Hacker News

Google Maps is a critical dependency for nutrition facts on mcdonalds.com

mastodon.social

21–30 of 110 posts

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#21
The first couple of months I moved into my new house, many sites and apps were broken to me, as the address wasn't yet on Google Maps, and rather than degrade gracefully, those sites and apps were borked due to inability to pre-populate my address.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#22
I mean there's a change your location button at the top that literally displays google maps, also might use it to auto complete addresses, they're probably just preloading the script for that. That page doesn't even request location permissions, this is much ado about nothing.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#23
post #20

In other words: blocking random scripts might cause sites to stop working. Who would have thought? This is the equivalent of deleting a random third party analytics library and complaining that your app no longer builds. Sure, there's the concept of progressive enhancement or whatever, but at the same time it's also unreasonable to expect the developer to accommodate the possibility of any third party script getting…

> possibility of any third party script getting blocked

I'd say it's not unreasonable. You're giving your third parties the ability to break your business. Third party scripts are blocked or just fail to load all the time, APIs change suddenly, etc.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#24

Earlier quoted context omitted.

It’s not about the functionality but why does Google need to know that I’m looking at fast food from this specific location? Google isn’t a party to my eating decisions and can only be used to target ads. It’s not a reasonable requirement.

Google Maps has more functionality than just targeted ads.

What part of

https://www.mcdonalds.com/us/en-us/about-our-food/nutrition-...

Requires a map? On my phone, there’s no map widget nor distance to a restaurant nor anything else distance related.

There’s zero reason for the current functionality to require giving google my location.

Sure, you can argue that one day they might add something that uses the map, but that day ain’t today nor does it seem a reasonable requirement to get the calorie content of some chicken nugs.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#25
post #20

In other words: blocking random scripts might cause sites to stop working. Who would have thought? This is the equivalent of deleting a random third party analytics library and complaining that your app no longer builds. Sure, there's the concept of progressive enhancement or whatever, but at the same time it's also unreasonable to expect the developer to accommodate the possibility of any third party script getting…

That’s the wrong attitude. Unless the function of your site completely depends on google maps it shouldn’t break other logic. We’ve been building websites that survive these kinds of things for decades. Some people just don’t engineer their stuff correctly and this is the result. It’s not hard to do it right.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#27
I have a feeling this is some dependency the dev created that's breaking their framework's rendering of the content.

I have Firefox loaded with all the ad and privacy blockers installed for this reason when I do tests and code reviews. It reveals a lot of inadvertent dependencies and bugs that devs are unaware of.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#28

Earlier quoted context omitted.

Google Maps has more functionality than just targeted ads.

What part of https://www.mcdonalds.com/us/en-us/about-our-food/nutrition-... Requires a map? On my phone, there’s no map widget nor distance to a restaurant nor anything else distance related. There’s zero reason for the current functionality to require giving google my location. Sure, you can argue that one day they might add something that uses the map, but that day ain’t today nor does it seem a reasonable require…

[deleted]

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#29
post #20

In other words: blocking random scripts might cause sites to stop working. Who would have thought? This is the equivalent of deleting a random third party analytics library and complaining that your app no longer builds. Sure, there's the concept of progressive enhancement or whatever, but at the same time it's also unreasonable to expect the developer to accommodate the possibility of any third party script getting…

That’s the wrong attitude. Unless the function of your site completely depends on google maps it shouldn’t break other logic. We’ve been building websites that survive these kinds of things for decades. Some people just don’t engineer their stuff correctly and this is the result. It’s not hard to do it right.

Why should I, the developer go out of my way to accommodate people going out of their way (by installing an adblocker/script blocker) to break my app? If you're going out of your way to create a non-standard execution environment, any breakages is on you.

Re: Google Maps is a critical dependency for nutrition facts on mcdonalds.com

#30

The first couple of months I moved into my new house, many sites and apps were broken to me, as the address wasn't yet on Google Maps, and rather than degrade gracefully, those sites and apps were borked due to inability to pre-populate my address.

I had a very similar situation when I moved not too long ago.

I couldn't arrange for gas service before I moved into my home because the gas company's web site would only accept Google-blessed addresses.

I had to actually move in, and then go down to the gas company office with a copy of my lease to prove the address exists.

Strange, since at some time in the past the gas company payed many thousands of dollars to run gas service down my street. But, like in most big organizations, I suspect the web people and the company data people don't talk to one another.

Post reply on HN