Mom can we have Scratch? We have scratch at home. Scratch at home:
Mom can we have Scratch? We have scratch at home. Scratch at home:
Mom can we have Scratch? We have scratch at home. Scratch at home:
Remember the meme where all the parentheses are on the right hand side? This meme is the same.
Oooh, that is tempting. The main pain would be center justifying the code. Perhaps if it was left justified...
My employer's CI rejects extended ASCII characters :(
This only half as bad as the emoji soup macros
Got a link?
I got something better for you.
namespace 🔵 = std; using 🔢 = int; using 💀 = void; using 🕖 = time_t; using 👌 = bool; #define 👂 auto #define 🎌 enum #define 👎 false #define 👍 true #define 👹 "evil" #define 💪 🔵::make_shared #define 🍸 virtual #define 🖥️ 🔵::cout #define 🔫 🔵::endl template<class 🔮> using 📚 = 🔵::vector<🔮>; template<class 🔮> using 👇 = 🔵::shared_ptr<🔮>; 🎌 🐒 { 🐵, 🙈, 🙉, 🙊 }; 🔢 🎲() { return 🔵::rand(); } 👌 😎() { return 👎; } struct 🍴 { 🍸 💀 👀() = 0; }; struct 🍊 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍊" << 🔫; }; }; struct 🍉 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍉" << 🔫; }; }; struct 🍒 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍉" << 🔫; }; }; struct 🍓 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍓" << 🔫; }; }; struct 🍍 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍍" << 🔫; }; }; struct 🍅 : 🍴 { 🍸 💀 👀() { 🖥️ << "🍅" << 🔫; }; }; 🔢 main() { if(😎() == 👎) 🖥️ << "💩" << 🔫; 📚<👇<🍴>> 🍛 = { 💪<🍊>(), 💪<🍉>(), 💪<🍒>(), 💪<🍍>(), 💪<🍅>() }; for (👂 🍏 : 🍛) 🍏->👀(); return 🎲(); }
super minor but I always preferred to define fizzbuzz as modulo 3*5 to show adherence to the instructions in the readability of the code without having to think about why
Mmm I think they are missing == 0
This would musk to write, but is honestly really readable.
You could do this in basic ASCII, with only three defines. replace " " with "{", replace ";" with "}", and "" with nothing. If your compiler processes macros in the correct order, it will become valid code. (You would use semicolons as the vertical lines)
Have they #define
d out the equals symbol? I don't think that for
loop is going to compile.
The symbol they defined out is not the equals symbol but rather U+2550, so the for loop is fine.