News for hackers. Stuff that matters.
Re:Category Theory for Programmers by Retra on Wednesday April 29, 2015 @09:36PM (#9462850)
"If you’re an experienced programmer, you might be asking yourself: I’ve been coding for so long without worrying about category theory or functional methods, so what’s changed? Surely you can’t help but notice that there’s been a steady stream of new functional features invading imperative languages. Even Java, the bastion of object-oriented programming, let the lambdas in. C++ has recently been evolving at a frantic pace — a new standard every few years — trying to catch up with the changing world. All this activity is in preparation for a disruptive change or, as we physicist call it, a phase transition. If you keep heating water, it will eventually start boiling. We are now in the position of a frog that must decide if it should continue swimming in increasingly hot water, or start looking for some alternatives."

In other words, if you think this isn't relevant to the programming you do, it is likely that the programming you do is the exact kind of programming this was written to be relevant to.

Re:Category Theory for Programmers by umanwizard on Wednesday April 29, 2015 @09:44PM (#9462870)
That's a non sequitur. "Functional" doesn't imply having anything to do with category theory. You can learn functional programming (even including theoretical type theory, etc.) without knowing literally anything about category theory.
Re:Category Theory for Programmers by tel on Wednesday April 29, 2015 @09:55PM (#9462903)
The author doesn't say it so I will: Category Theory is like a treasure map to FP. Possibly many other systems interesting to programmers too—circuits, optimization, DSLs, API design, etc. CT is not required for practicing FP, but it can be a powerful guidepost to solving problems. A good CT intuition will lead you to recognize opportunities for nice abstraction in a way that's difficult to replicate otherwise. It'll also give you a tool belt for communicating them to others without any arm-waving. All together that's a powerful thing.
Re:Category Theory for Programmers by Nokinside on Thursday April 30, 2015 @04:17AM (#9463866)
This is like saying Tsiolkovsky rocket equation is the core of rocket science. You are not exactly wrong, but it's just one piece of the puzzle. You need to study math and algebra more broadly if you want to see and use categories solving problems.

If FP community would advocate big math curriculum for programmers with category theory at the top, hype would die fast.

Re:Category Theory for Programmers by tel on Thursday April 30, 2015 @08:10AM (#9464532)
I think that for many programmers there are sufficient applications of CT in their own work that learning it would be a boon. I don't at all disagree that that learning algebra more broadly here is beneficial, too, though!

And hell, you can be absolutely certain that I'd advocate a big math curriculum for programmers with category theory at the top. I don't know that the ROI is there for everyone, but I couldn't not recommend such a thing heartily.

Learn abstract algebra, as a programmer? Of COURSE that will help you.

Re:Category Theory for Programmers by skybrian on Thursday April 30, 2015 @02:53PM (#9466916)
I'm willing to believe that in the end it will all have been worth it. But I didn't find that enough to continue reading this particular series because after a while it didn't seem to be motivated by any useful problems for programmers, as was promised in the title.

Here's my heuristic for whether a problem makes a good example: whether or not it's the best tool for the job, would you write a program to solve it in C or Java or Go? If not, I'm skeptical it's solving a problem that exists outside the functional programming universe.

There are plenty of techniques that solve problems that only make sense within the particular ecosystem where you find them; lots of Java tools are like that, for example.

Re:Category Theory for Programmers by Retra on Wednesday April 29, 2015 @10:02PM (#9462921)
You're nit-picking a single example in a discussion context concerned with some very broad patterns.
Re:Category Theory for Programmers by Nokinside on Thursday April 30, 2015 @03:48AM (#9463780)
That does not change the fact that category theory is oversold to programmers.

You need to study math more broadly to use category theory. These intros and books for programmers just give overview of concepts. You need to study mathematics more deeply to actually use it in programming. Advanced algebra is must.