True, but writing imperative code in OCaml feels quite right. Maybe it's just me, but it always feels significantly clunkier than the functional equivalent. I've had things I've been implementing and though "this works be easier to express imperatively", and almost invariably I've gone and rewritten the code to be functional because of how ungainly the imperative implementation ended up being. It feels a bit too much like somebody embedded a subset of Rexx or Pascal awkwardly into an otherwise perfectly reasonable functional language
Fair enough, though fwiw automobile makers seem to have taken note on the pushback to the touch screen controls, and 2025MY vehicles are actually starting to shift away from touch screens and back to physical controls again.
I am not a keyboard warrior who got caught up in the nonsense, but I think some people were simply annoyed at adding syntactic sugar for very marginal benefit. “There should be one way to do things” mantra.
I have a long list of grievances with Python, but the walrus situation would never crack my top ten. Put effort into removing cruft from the standard library, make typing better, have the PSF take a stance on packaging. Anything else feels a better use of time.
Whatever, it won. I will never use it, but when I see it will have to scratch my head and lookup the syntax rules.
It was against many people's aesthetic sense. Including mine. But in theory it can be ignored completely, and in practice it is barely ever used (and indeed nobody forces you to add more uses).
It has no dogmatic inclination towards functional. It has a very pragmatic approach to mutation.