I read Stepan Parunashvili Inventing Monads, in which he starts with some small, simple functions and quickly runs into problems in their use. He mutates them until he ends up with monads, a hot feature I mostly associate with Haskell. These compose separate actions to get something that’s safe and predictable.
I want to import from a CSV file some array values into a Postgres table, but I didn’t find examples. There are many examples with INSERT statements, but I already know how to do that (because there are examples).
Curtis ‘Ovid’ Poe is working on the Cor Proposal to add new object syntax to Perl. There have been various efforts in the last decade, including Moose and the many variations of it. The syntax is nice enough, but syntax isn’t the issue that’s driving these frameworks. You don’t make appropriate classes—that’s the source of all of your problems.
There’s a particular government service I need to interact with and they have rebuffed my messaging through their official website. I’m supposed to call them, but everyone else is calling them too. Instead of a callback service or something similar, this government office makes you walk through a two minute phone tree where several messages (all completely irrelevant to me) cannot be bypassed. After two and a half minutes, it tells you that no agents are available and to call back later.
What is “legacy” code? Or, what makes some code “legacy” and other code not? I looked for a good definition, and I didn’t find one that made any sense. Many people seemed to have not considered their definition before choosing it.