The REPL: Issue 92 - April 2022
source link: https://ylan.segal-family.com/blog/2022/05/04/the-repl-issue-92-april-2022/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The REPL: Issue 92 - April 2022
May 4, 2022 • Ylan Segal • the repl, ruby
The Dunning-Kruger Effect is Autocorrelation
This article is fascinating. The argument is that the well-known Dunnign-Kruger effect (i.e. unskilled people overestimate their skill), is not a psychological effect. Rather, it is a statistical mistake. It is an artifact of autocorrelation: Comparing a variable to itself.
Refactoring Ruby with Monads
Tom Stuart is a great, clear writer. This article does a great job at introducing the usefulness of monads – explaining them from the ground up, without the math pretentiousness.
Ruby Shell-Out Flow Chart
Ruby supports many ways of doing that. This excellent flow-chart from a StackOverflow answer tells you which one to use. I am reposting mainly so that I can find it again easily!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK