Why Minecraft Works
hobbygamedev.com2 ポイント投稿者 Locke0 コメント
class User < JSON::Base
Where by extending JSON::Base, I now have access to helpful methods like to_json? class User
def as_json
end
end
Requiring this file will bring in the extra json behavior without littering my actual user.rb with the details of how a User is written to json. Whether this is worthwhile or a bad idea is debatable, but I like that it is possible. ActiveRecord.save(user)
Maybe it would be a good thing, maybe not. class User < ActiveRecord::Base
Why should my `User` extend from `ActiveRecord::Base`? Is a User of my app also an ActiveRecord::Base? What is an ActiveRecord::Base anyway? 1. I have an idea!
2. Yeah, but that won't work because...
3. Oh, in that case we could just...
4. But, then...
The "quality" of HN and it's community is a function of many variables. It's hard, maybe impossible, to tweak the site and expect predictable results (and, there are always unintended consequences).
In this case, someone made a joke about women not liking to reveal their true age as they get older. It's a boring cliched joke. Something I've heard too many times in my life (and, most often from women). Is it sexist? I can see the argument. Is it professional to make such a joke on a ruby mailing list? I don't know, perhaps not.
Does it warrant responses like "Knock that bullshit off." or "you made an ass of yourself"... I don't know. Seems a little ironic to use unprofessional language in this situation. Maybe even worse than the joke itself? I don't know.
Then, folks take the discussion to github and twitter (and, eventually reddit and hn). Presenting only their verdict: "A newer member made a sexist joke, and was called out on it as being inappropriate." No links to the joke. No evidence that the joke is sexist. This makes it so much easier to imagine something really bad. No, we just get a verdict and we should all rise up against this sexism (which absolutely is bad, of course). Let's get our pitchforks. This amplifies one side of the argument and shuts down any useful conversation. Worse, it's used to rush through a CoC change without allowing any thoughtful discussion.
Is this reaction proportional to the original joke? Is the reaction itself exemplar of how we would like to conduct ourselves?