Hacker News new | ask | show | jobs
by petercooper 1457 days ago
It's good, but as a Rubyist, I find it generally picks the most common solution to problems rather than the best one. Get it to tally the contents of a hash, for example, and it doesn't reach for Hash#tally at all, but the long "manual" way of doing it. So it makes me wonder if I'm encountering a Gell-Mann type effect with languages I'm less familiar with..
1 comments

I've noticed this too, but working with pandas and python for data related things. it almost always produces non-optimal code that is surprisingly popular- just the other day it wanted to make a copy of a large file instead of a view. turns out a lot of beginner courses don't teach about copy vs view because they use small toy datasets and its not a problem. also, this throws a warning too!