Hacker News new | ask | show | jobs
by sharkbrainguy 4890 days ago
I think you've excluded the middle here, (#1.5 perhaps) one who thinks that your code is worthless/dangerous and does not call you a loser.

It can be true that a piece of software is a poor replacement for an existing tool.

It can be true that recommending it as a replacement for that tool is dangerous.

You can make these judgements about a piece of software without an incident like this happening. What's important here, is how you behave once you've made these judgements.

3 comments

> It can be true that recommending it as a replacement for that tool is dangerous.

Unless you're suggesting that NASA rewrite its rocket guidance subroutines in a brand-new interpreted language or something, it's probably not unequivocally "dangerous." (In that case, I would call the suggester a different word than "loser".) That's the whole point of open-source software: everyone can make their own judgments about what works better for them.

In the specific case of `replace`, if I want to know exactly what the command-line options do, exactly what order the files are being modified in, I can glance over 173 lines of javascript rather than search through the 4.3MB (uncompressed) of the sed source code. Sure, I suppose I'd have to include the Node.js source code to make it a fair comparison, but my point remains: choose the solution that makes the most sense to you.

I'm in the #1.5 category probably.

_But_ it is all about how it is written. Criticism is good when it is constructive, otherwise it is not far from just name calling, badgering and spewing of hate.

Other ways to respond could be "That's a cool idea. I like to use sed" or "checkout my python one-liner".

All those things you highlighted could be true, but that's still not a reason to offend someone.

It depends on who the author is:

* If an 8 year old wrote that, that would awesome and she would become an overnight internet celebrity.

* A Linus Torvalds wrote that -- everyone would become very worried that he is smoking something.

* Someone who is just learning to program -- it is awesome and they should be encouraged to do more of it

* A seasoned programmer -- they should still be encouraged but criticism should be more pronounced "Cool but sed usually works better, were you thinking of some specific feature?".

Yeah I mean it's OK to make judgements and think or believe whatever you want. Maybe even tell how a friend or two how silly something seems to you while hanging out. It's a different thing to being a dick to someone publicly on the internet for trying to contribute positively to open-source.