> This included what was probably the most interesting part, writing the tricky recursive code to implement the match statement.
Back in school I found this book[0], "The Implementation of Functional Programming Languages". Flipping through it was very neat because it kinda demystified the nuts and bolts of implementing the "fancier" functional programming features for me.
Chapter 5 is about implementing pattern matching.
You read this kind of stuff and realize how easy things become when you just tackle a problem with the right mindset and abstractions. And this is a book from 1987! We've always had decent answers for a lot of the stuff.
I think it's interesting to flip through if you're a language implementer, though helps to be comfortable with reading some stuff sideways and not understanding every detail.
I think there's a lot more to be blamed on a planet that's getting hotter, pesticides in the food, lead in the soil, plastic in the food containers, hormones in the meat and cheese, and cost of living that goes up while salaries don't. Social trust is at an all time low. 99% of the population gets poorer everyday and can feel it. There's no hope of things getting better, so yeah plenty of people stop doing enriching activities.
Porn isn't the cause, it's a symptom of a population losing hope that things will be better for their kids. Or that can't afford kids at all.
This is slopulism, aka you read social media too much and got depression.
> 99% of the population gets poorer everyday and can feel it.
Absolutely not true in the US. What did happen is that poor people's incomes vastly increased since 2019, while upper middle class incomes stagnated.
It may of course be true in some countries.
> Or that can't afford kids at all.
Birth rates declining is a sign of increased incomes, because people can afford entertainment, and prefer to consume it over having kids, which are kind of a bummer and mean you can't have fun for the next 18 years.
I know several older people who live active, happy lives. Why is it so hard to admit this filth causes depression? There is research evidence for it, you know, a google search away.
Survivorship bias is also a thing. I'm not saying this neighbor I've never met was happy. Just that many of these symptoms are signs of aging.
If you've found some compelling evidence then please do share. Because all I've read about it is inconclusive.
rtpg · · focus · HN ↗
Back in school I found this book[0], "The Implementation of Functional Programming Languages". Flipping through it was very neat because it kinda demystified the nuts and bolts of implementing the "fancier" functional programming features for me.
Chapter 5 is about implementing pattern matching.
You read this kind of stuff and realize how easy things become when you just tackle a problem with the right mindset and abstractions. And this is a book from 1987! We've always had decent answers for a lot of the stuff.
I think it's interesting to flip through if you're a language implementer, though helps to be comfortable with reading some stuff sideways and not understanding every detail.
[0] <a href="https://simon.peytonjones.org/assets/pdfs/slpj-book-1987-searchable.pdf" rel="nofollow">https://simon.peytonjones.org/assets/pdfs/slpj-book-1987-sea...
jan_m_savage · · focus · HN ↗
[dead]
jonstewart · · focus · HN ↗
jan_m_savage · · focus · HN ↗
JackMorgan · · focus · HN ↗
Porn isn't the cause, it's a symptom of a population losing hope that things will be better for their kids. Or that can't afford kids at all.
astrange · · focus · HN ↗
> 99% of the population gets poorer everyday and can feel it.
Absolutely not true in the US. What did happen is that poor people's incomes vastly increased since 2019, while upper middle class incomes stagnated.
It may of course be true in some countries.
> Or that can't afford kids at all.
Birth rates declining is a sign of increased incomes, because people can afford entertainment, and prefer to consume it over having kids, which are kind of a bummer and mean you can't have fun for the next 18 years.
LoFiSamurai · · focus · HN ↗
This is a ridiculous take.
astrange · · focus · HN ↗
jan_m_savage · · focus · HN ↗
Just look at the effect it has had on yourself. And tell me it didn't depress you?
I have clients telling me their lives were destroyed because they couldn't stop the addiction.
paulryanrogers · · focus · HN ↗
jan_m_savage · · focus · HN ↗
paulryanrogers · · focus · HN ↗
If you've found some compelling evidence then please do share. Because all I've read about it is inconclusive.
jan_m_savage · · focus · HN ↗
[dead]
vasco · · focus · HN ↗
jan_m_savage · · focus · HN ↗
vasco · · focus · HN ↗
jan_m_savage · · focus · HN ↗