Spent some time in social networks, then went to work. Well. I have to remember, I owe them exactly what they want from me. Nothing else. That is, stuff some shit into the code, to make sure that it sends to the logs what, theoretically is there already, but it isn't. And there are no tests for that.
Ok, I know. cats library was written bby some crazy idiots. Travis Brown, a crazy pseudo-programmer: Daniel Spiewak, smart, active, almost educated - but the general picture for both is bizarre and meaningless, and, what's important, is impractical. Go fugyre why everything should be wrapped into a monad. More, into an unknown monad (actually, the monad is always IO).
But, OTOH, I figured out where all this pompous shit came from in this company. They had a bunch of Spanish contractors, the kind of Madrileños that were saying "quema el libro rojo" - so they still had managed to read the book, and...
Short, I'm feeling sick, pretty much, from all these modern "monads", "functors", "natural transformations" (neither actually is). An example: having a functor F[A], and if A <: B, lift it to F[B] by casting it like this: fa.asInstanceOf[F[B]]. IRL, the functor must be covariant (or something) - but no, we don't care about variance, we just cast it.
So, I'm thinking now, is not it the time to change the language. Scala is almost 20, and a lot of flies have covered it with their shit.
Ok, anyway. I wrote that solution. One has to get used to be a contractor. Not my circus.
Tomorrow I'll add one more check in the test, and by the end of the day will send a PR for review. Will send the next one next week.
Around noon we had a "lunch online": not the whole "team", but just several people. Janet from Greeneville, Mark (where is he from? Florida), Esteban from Bogota, and me. We talked about how to be a good person, how come everybody is moving to South Carolina, and other generic life topics.
I started explaining why I had moved. But Janet had interrupted, and explained to everyone what's wrong in San Francisco. Judging by her explanations, she has never been even close.