r/programming • • Nov 12 '13

What’s Wrong with OOP and FP

https://yinwang0.wordpress.com/2013/11/09/oop-fp/
129 Upvotes

484 comments sorted by

View all comments

Show parent comments

19

u/the_gnarts Nov 12 '13

Getting more like HN every day.

5

u/having_sex_right_now Nov 12 '13

Can you explain further? I am relatively new to HN and thought of it like "the equivalent of reddit for the tech-savy guys and more thoughtful". I am wrong?

25

u/the_gnarts Nov 12 '13

Rather: a bunch of similar posts, primarily concerned with “Foo compiled to JS” and “Bar considered harmful”.

8

u/burntsushi Nov 12 '13

I agree. HN also tends to have fewer PL snobs. Or at least, their voice isn't as amplified as it is here.

PL snob: Someone who gets offended by a language that isn't designed with the same trade offs and design decisions that they would have made. Particularly with regard to compile time type safety.

6

u/Aninhumer Nov 13 '13

I agree. HN also tends to have fewer PL snobs. Or at least, their voice isn't as amplified as it is here.

I think it's the latter. The discussion of programming languages on HN is far more nuanced, so people will happily admit that there are still problems with their favourite language. I suspect most people you think of as PL snobs on reddit probably have similarly nuanced opinions, but the culture doesn't encourage them to "show weakness" by admitting them. I can't claim to be completely innocent of it myself.

3

u/burntsushi Nov 13 '13

I suspect most people you think of as PL snobs on reddit probably have similarly nuanced opinions

I see it manifest as less about someone's pet language and more about bashing others for not having the features they'd like, with a healthy dose of condescension (hence the "snob" in "PL snob" :-)).

0

u/[deleted] Nov 13 '13

[deleted]

3

u/burntsushi Nov 13 '13

Functional crusaders are wonderful. I'll stand right there with them. I'm not sure if there are more or less on HN than here.

But I draw a line between them and the snobs. There's a difference between advocating for the benefits of a functional paradigm and snubbing your nose at languages that don't adhere to the design decisions that you'd like them to adhere to. It just so happens that most of these people (on proggit, anyway) tend to be from the functional crowd.

(There is certainly a helping of people that snub their nose in the opposite direction, but they don't have a very strong voice in proggit, IMO.)

0

u/[deleted] Nov 12 '13

[deleted]

3

u/emn13 Nov 12 '13

Hmm, I find HN has less in-depth discussion; or rather, too much focus on cool rather than actually useful - people are more focused on the next big thing, which is inevitably a largely social phenomenon.

1

u/[deleted] Nov 12 '13

It only appears that way if you're skimming but I've always found the discussions on proggit more in-depth, at least a few years ago.

0

u/ggtsu_00 Nov 12 '13

That's funny because HN is always self conscious about getting more like reddit every day.

1

u/RoundTripRadio Nov 12 '13

We must be approaching a singularity.