Re:Performance comparison: counting words in Python, Go, C++...
by henrik_w on Monday March 15, 2021 @11:48AM
(#26467391)
Also interesting is that this problem is used as the example in the book "Exercises in Programming Style" by Cristina Videira Lopes. It shows this problem solved in 33 different programming styles, for example historical, function composition, data-centric etc.
I have written more about it here: https://henrikwarne.com/2018/03/13/exercises-in-programming-...