From Jason Turner
Watch on YouTube

Summary

This episode explores how whitespace is largely insignificant in C++ syntax, a trait inherited from C. Jason demonstrates how the preprocessor effectively removes whitespace during the early phases of compilation, allowing code to be formatted in ways that remain syntactically valid but potentially unreadable to humans. Using code from a previous episode on implementing std::bind_front, he shows how the same program can be restructured with minimal whitespace while maintaining functionality, though at the cost of readability.

Resources

Tags