3 ms·
Not everything has to be super easy-to-use.
by pdntspa 3y ago
Not everything has to be super easy-to-use.
- Dylan16807 3y agoNobody is suggesting super easy to use. But sometimes interfaces could be easier with no loss of ability, because they grew over time and nobody ever fixed them.
- pdntspa 3y agoIt 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!
- Dylan16807 3y agoThe 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.