4 ms·
I have to agree. I mean, it's nice and all but really it's a function you can write in a few minutes. I don't think it needs a website and a submission to HN.
by peacemaker 14y ago
I have to agree. I mean, it's nice and all but really it's a function you can write in a few minutes. I don't think it needs a website and a submission to HN.
- platz 14y ago1. It's his first venture into a programming project 2. "var wordCount = value.trim().split(/\s+/).length" isn't much of a library. The benefit of a project like this for user's is so they can avoid building the scaffolding and deployment.
- peacemaker 14y agoFor a first venture, well done. I'm just questioning why it should be a post on the front page of HN for such a simple (sorry if that offends?!) piece of code. I'm truly not trying to discourage and probably sound like a grumpy old man but I just don't think the OP needed to post something so simple here.
- joelrunyon 14y agoThanks peacemaker. Maybe as I get better I'll get faster at programming. In the meantime, it was fun to be able to solve a problem I had by learning something I didn't know before.
- peacemaker 14y agoI agree it's good to get out and learn things like this, I'm just not sure you needed to post it here? *Thanks for the downvotes too...