Better Support for Emotive Programming in C++
summary
Demonstrates that many emoji can already appear in C++ code via identifiers and user‑defined literals but the common smiley `: )` cannot because syntax forbids that token sequence; proposes adding unary and binary overloads for the smiley emoticon with precedence between operator minus and operator parentheses so it can mean things like “ingest” or “mangle”; shows working compile examples for other emoticons, outlines a standards proposal, and plans a GCC pull request and follow‑up angry‑face proposal.
AI-written summary · about
chapters (8)
- 0:00Intro
- 0:11WHAT IS EMOTIVE PROGRAMMING?
- 0:58WHAT EMOTICONS ARE VALID IN C++ CODE?
- 1:46WHERE'S THE SMILEY FACES
- 2:58PROPOSED SOLUTION AN OVERLOADABLE OPERATOR :-
- 3:44IMPACT OF ADOPTION INTO THE STANDARD
- 4:08NEXT STEPS
- 4:28REFERENCES
related talks
53mC++ Features You Might Not Know
52mC++ Puzzlers
01h 37mC++ And Beyond: Discussion
01h 00mUnicode in C++
01h 05mHello Operator: Making The Call for C
30mC++ Cryptozoology - A Compendium of Cryptic Characters :: #2
51mC++ Features You Might Not Know
01h 28mProgramming in Modern C with a Sneak Peek into C23
