Hacker News new | ask | show | jobs
by pdntspa 1041 days ago
It is terse for a reason. You're ordering a parser around in 10 characters. Which makes them fit everywhere! A longer more readable version starts taking up multiple lines and looking like shitty react code. Or you're just using your language's string primitives. But there is a reason that nobody does that any more -- who wants to read 50 lines of string parsing code when a couple dozen characters of regex will do the same thing?

Let us wizards have our magic!

1 comments

The particular syntax being used an example is more verbose than it needs to be, so I don't know why you're making this argument.