That replace library does what it's supposed to do - it replaces shit easily.
Don't like it - don't use it.
If people want to do more - then they'll figure it out for themselves. For everyone who already knows more - eat some humble cake.
This is a false dilemma and completely misses the point. The replace library was written by a person who either never heard of or never learned how to use SED. Just because they created their own hack as a workaround doesn't mean it's the right thing to do.
By this logic, there is no way for beginners to write much of anything since there are existing implementations of almost any idea, and it should be disallowed ever to make a new thing which could replace any old thing.
"It's similar to sed but there are a few differences:" and then goes along to list out the differences.
I would expect this person to 1) have heard of and 2) have learned to use sed in order to write a tool that is similar but has slight differences in syntax to sed.
As for editors - there is a niche for emacs and there is a niche for notepad. If a program is weaker on some aspects but clearly superior in another aspect, then it has a valid niche and making it really is the 'right thing to do'. Usability/discoverability is a very important aspect of software, and sed is a bit lacking there.
Are you honestly at HackerNews posting that someone hacking together some code to scratch their own itch is not "the right thing to do"?
Yes. And people can site Pi to the 10.000 digit. Doesn't make it any less useless.
Calling the basic operation of these cornerstones "useless" speaks more about your disposition than the tools, I think.
Yes. Sad isn't it?
It's not as if they were perfect when the were designed.