We've Always Been at War with East Constia
summary
C++11 allows trailing return types using auto and -> so return types can depend on parameter names that are only in scope after the argument list, and lambdas use the same form; claim is that using them everywhere yields cleaner code because left-aligned names make function lists easier to scan. Examples compare to Swift, Haskell and Rust, note Arnold Mertz revises a previous stance, mention a preprocessor trick to mimic Swift and a coined term east end functions with a blog post asserting measurable readability gains.
AI-written summary · about








