The (runtime) C and C++ versions would still look as readable as ever. New in C++11, functions qualified as constexpr, can be evaluated entirely at compile-time. This is neither available, nor would it be so useful, in Fortran. As far as readability is concerned, I think a better comparison can be made with template metaprogramming; check out the fine metatrace code here. Fresh new features such a