Back

Morning Cup of Coding

Morning Cup of Coding Issue #43 - May 16, 2018

2018-05-16 14:25:44

Issue #43 - May 16, 2018

Good morning (?)!

If you are still reading this, that means efail has not convinced you to stop using email. Phew!

So, let's get to it because I'm already very late today!


Articles

Using trampolines to manage large recursive loops in JavaScript

While ES2015 specifies tail call optimization for JavaScript, it is not supported by most browsers. Which means that  making very deep recursive calls is an issue. Benjamin Johnson shows us how to solve this using a technique called trampolines.

 

Fun with SQL: Recursive CTEs in Postgres

On the subject of recursion, Craig Kerstiens shows us how, in PostgreSQL, Common Table Expressions (CTEs) can be used recursively  to generate some pretty complex queries within SQL.

 

Monads as an interface for composition

David R. MacIver shows us one area where Monads have been very useful while side stepping what a Monad actually is.

 

In which the cpu changes my data under my nose

IEEE 754, the standard for floating point arithmetic, has been the pain point to many a programmer. One such programmer is the author of our next article in which the special NaN "quiet bit" is discovered and solved.


News

Efail press release

GnuPG issues an official statement on yesterday's Efail press release.

Programming language of the day: Solidity. "Solidity is a contract-oriented programming language for writing smart contracts. It is used for implementing smart contracts on various blockchain platforms.It was developed by Gavin Wood, Christian Reitwiessner, Alex Beregszaszi, Liana Husikyan, Yoichi Hirai and several former Ethereum core contributors to enable writing smart contracts on blockchain platforms such as Ethereum". - Wikipedia
And that's it for today!

I hope you enjoyed reading the latest issue of Morning Cup of Coding. If you did, consider supporting it on Patreon or buying me a coffee; it helps me keep this going.

Cheers,
Pek
Share
Tweet
Forward
Share
Copyright © 2018 Human Readable Publications, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Read more