5 ms·
That makes sense, thanks! I should learn to read...
by pwf 12y ago
That makes sense, thanks!
I should learn to read...
- justinpombrio 12y agoThis is a perfect example of where a (short) code comment would be helpful. The "lambda: 1" a notable piece of code, but it's hard to tell that at a glance.
- hnriot 12y agono it's not, it's perfectly clearly documented in code. The smoothing is common practice in this area of software engineering.
- dljsjr 12y agoAnd yet this is written for people who aren't familiar with this area of software engineering. It's stated so right at the top of the article.
- hnriot 12y agononsense, any software dev that can't follow a lambda that adds 1 should be taken outside and shot. When Norvig says talks of regular folks, he means people with 1/10th his IQ, which is still the top 1%. Norvig is so far out there on the IQ scale that I find it funny when some noob says he's found a bug!