Skip to content

Instantly share code, notes, and snippets.

View gonutz's full-sized avatar

gonutz

View GitHub Profile
@gonutz
gonutz / readability.md
Last active December 27, 2018 13:26
Readability is Paramount

Readability is Paramount

I was pointed to a blog post about some new features in C++, the first language that I learnt when I started programming 15 years ago.

The author, a member of the C++ Standardization Committee, gives us an example of some basic algorithm to illustrate the use of a new C++ feature that he worked on. The task is rather simple: find triplets of integers a, b and c where a²+b²=c². Here are some examples:

3 4 5
6 8 10
5 12 13