It absolutely is not an example of discrimination within the context of how equal protection should be applied. Going by a broader definition of discrimination, the problem is actually that the law fails to discriminate between the needs of the rich and the poor. The real value to that question is that it forces people to realize that whether a law discriminates in the traditional sense is not the only measure by which we should judge laws.
The bridge law is an instance of rich people in power placing their own trivial desires (the desire to avoid the unsightliness of having a homeless person sleeping under a bridge) over the needs of a homeless person to find shelter from weather. Constitutional challenges to that law should be based on due process and the right to life and liberty, not on equal protection.
Imagine a future society has solved the problem of homelessness via a basic income, free public housing or some other method. A law that prohibits sleeping under bridges in such a society would not have nearly the same issues as such a law would today. It is silly to consider a law discriminatory today but not discriminatory tomorrow because of such indirect factors, while it makes sense while such indirect factors would impact the policy considerations and burden the law imposes on the right to life and liberty.
We can also take a look at the law from the other angle. Imagine in the above society (with no homelessness), it becomes popular among a wealthy subset of that society for their children to have a right of passage by spending a week on the streets as if they were broke and homeless. Those kids tend to congregate under bridges.
If the city passes (or had) a no-sleeping under the bridge law is it now (or did it become) discriminatory? No. Rather, a new policy consideration arises - whether the desire of society to not have people sleeping under bridges is sufficiently valuable to impede on the cultural practices of a group of rich people. And in this circumstance, the answer isn't nearly as clear cut.
Along with pots of gold at the end of the rainbow that require a unicorn to fetch it, imagination is where this future society will always be, since basic income along with free public housing is a feel good farce no different than trickle down Reaganomics, someone has to pay for it, and the the rich will always try to avoid paying for it and there is no finer example than liberal progressive Seattle giving in to anti-Trump liberal Amazon over paying to help the homeless,
Our new rich tech-liberals, always on the side of whatever identity politics movement comes from the left, just don't touch their money and subsequent lifestyle,
How Amazon Helped Kill a Seattle Tax on Business
A levy on big companies to fund affordable housing awakened the ire of corporations.
https://www.theatlantic.com/technol...helped-kill-a-seattle-tax-on-business/562736/
Seattle is one of the most progressive cities in the country. It’s the place where the Fight for $15 movement first gained traction, where the city council last year tried to levy a tax on the city’s richest residents, and where local government
passed one of the country’s first secure scheduling ordinances to give shift workers more notice of when they’d be working. And now, Seattle businesses have had enough.
Less than a month after the Seattle City Council unanimously passed a “head tax” ordinance that would have levied a $275 per employee tax on Seattle businesses making more than $20 million a year, the same council voted to repeal that head tax Tuesday, in a 7-2 vote.
Council members say they changed their minds in the face of a well-funded and vicious campaign that sought to put a referendum on the November ballot to repeal the head tax, a campaign that they say also sought to flush progressives from office in Seattle. They say big companies like Amazon have held the city hostage by refusing to engage in a discussion about new revenue streams to fund affordable housing, and that though they might have quashed this effort, they have put forward no solutions for the city’s problems. Business leaders, meanwhile, say they’re fed up with a constant stream of taxes that have done little to solve Seattle’s growing homelessness crisis. “It's a little bit the straw that broke the camel’s back,” Heather Redman, co-founder of Flying Fish Partners, a venture capital firm, and the chair of the Seattle Metropolitan Chamber of Commerce, told me, about the head tax.
If there’s one thing that came out of the pass and repeal the head tax—a months-long process that culminated in a raucous hearing Tuesday where self-proclaimed socialists chanted down city council members as they tried to vote—
it’s that business interests and elected officials in one of America’s most liberal cities are extremely divided over how to solve a growing crisis in Seattle. That’s even though many of them come from the same political party.