5 ms·
> I hear functional programming is great. Not so sure I'd write a driver with it, though. Why not?
by yakshaving_jgt 4y ago
> I hear functional programming is great. Not so sure I'd write a driver with it, though.
Why not?
- ChrisMarshallNY 4y agoIt may be great for drivers. You see, I am not an expert functional programmer. I already know that it won't work well, for the UI-based stuff that I do, and, in my experience, UI programming, and device control programming, share a lot of patterns. But that may also be, because I am not actually in a position to render much judgment on the matter. But, like I said. I am not an expert on FC. I have liked using some of its contributions to my favorite language (Swift), but that doesn't really give me the authority to make any really big statements on the pattern (like, for instance, "FC is bad for drivers"). See how it feels, when people throw shade on something that you know well?
- yakshaving_jgt 4y ago> See how it feels, when people throw shade on something that you know well? My feeling is mostly that of confusion. I spent several years writing OOP, and then learned pure FP, and now that's all I do. Pure FP is the best thing I have ever used for UI programming. My confusion is not from you "throwing shade" on something I know well. Rather, it's from you throwing shade on something you — by your own admission — are not in "a position to render much judgement".
- ChrisMarshallNY 4y agoI'm not actually "throwing shade." I just said, and I quote: > "I hear functional programming is great. Not so sure I'd write a driver with it, though." That's not an insult. Your comment wasn't, either -technically, but it wasn't quite as nuanced. It said that OOP was, by inference, a bad thing. > "Given how frequently I hear something along the lines of "OOP is great; you're just doing it wrong!", I'm inclined to believe it actually isn't so great." Like I said, this has descended to a religious debate, and I won't play, anymore. But this is a big world, and there's many different things going on. I know that I'm an old "OK boomer," but I have also been writing ship software for over thirty-five years, so there's a vanishingly small chance, that I may actually have some valid points to make.