36 ms·
Some people, when confronted with a problem, think "I know, I'll use ReX.js." Now they have three problems.
by dgritsko 8y ago
Some people, when confronted with a problem, think "I know, I'll use ReX.js." Now they have three problems.
- kbd 8y agoI know you're meme-ing, but it's a great way to put it tbh. This library struck a nerve with me today because it's a rare example of a library that's actually harmful to its intended beginner audience. The author invented a verbose DSL for what's already a DSL! For the record, I'd never fault anyone for writing any code they want (unless maliciously ofc). "What would a method-based interface to regular expressions look like?" is a perfectly reasonable question! But the author is doing a disservice to anyone he gets to use this. Just use ''.match().