yeah but that's just because spinning platters are still cheaper by the byte - if you don't care much about performance you buy that. But any computer worth using (imo) has a ssd in it, and that's been the case since 2012.
Parser generators. They get better and easier to use every year (PEGs being the newest kid on the street), but we still see loads of buggy ad-hoc parsers with loops and regexes. And many of those bugs turn into actual security issues.
Yes, these are great! Text.Megaparsec.Expr blew my mind. It lets you write something that can evaluate expressions like "(3 + 4/(-2)) * 7" -- a nested expression parser, with prefix, postfix and infix operators of varying associativity and precedence -- in 12 lines of code. I made a repo about it [here](https://github.com/JeffreyBenjaminBrown/megaparsec/tree/mast...).
Comments (983) 199 threads
Earlier commentsIn 2012 I did not expect that you could still buy $2000 laptops with spinning rust in 2017.
All comments shown.
Couldn't load more comments. Check your connection and try again.