The Forgotten History of OOP

Note: This is part of the “Composing Software” series (now a book!) on learning functional programming and compositional software techniques in JavaScript ES6+ from the ground up. Stay tuned. There’s a lot more of this to come!
Buy the Book | Index | < Previous | Next >

The functional and imperative programming paradigms we use today were first explored mathematically in the 1930s with lambda calculus and the Turing machine, which are alternative formulations of universal computation (formalized systems which can perform general computation). The Church Turing Thesis showed that lambda calculus and Turing machines are functionally equivalent — that anything that can be computed using a Turing machine can be computed using lambda calculus, and vice versa.

Continue reading “The Forgotten History of OOP”

Civic honesty around the globe

I am a bit late to this party, having been traveling, but I will serve this one up anyway:

Civic honesty is essential to social capital and economic development, but is often in conflict with material self-interest. We examine the trade-off between honesty and self-interest using field experiments in 355 cities spanning 40 countries around the globe. We turned in over 17,000 lost wallets with varying amounts of money at public and private institutions, and measured whether recipients contacted the owner to return the wallets. In virtually all countries citizens were more likely to return wallets that contained more money. Both non-experts and professional economists were unable to predict this result. Additional data suggest our main findings can be explained by a combination of altruistic concerns and an aversion to viewing oneself as a thief, which increase with the material benefits of dishonesty.

Continue reading “Civic honesty around the globe”

Being Fat Could Make You Stupid, Study Says

A new study published in the journal Frontiers in Endocrinology is warning that people consuming an additional 650 calories per day could develop impaired brain and cognitive functions.

Australian National University professor Nicolas Cherbuin, the lead author of the study titled Sugar in mind: Untangling a sweet and sour relationship beyond type 2 diabetes, analyzed 200 international studies including another that monitored the cognitive health of more than 7,000 people. Researchers concluded that lifestyle choices could lead to deteriorating brain functions.

Continue reading “Being Fat Could Make You Stupid, Study Says”