Hacker News new | ask | show | jobs
by fiddlerwoaroof 1875 days ago
I think that using a better datastructure is often better than normalizing in tests: if order doesn’t matter, use a bag or set instead of arrays. I’ve generally found that this sort of thinking reduces boilerplate across the board.