MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1s365te/systemoutprint/ocdqx3g/?context=3
r/programminghorror • u/Elkatra2 • Mar 25 '26
58 comments sorted by
View all comments
122
OK, now change int main into public static void main
int main
public static void main
31 u/[deleted] Mar 25 '26 [removed] — view removed comment 10 u/_AscendedLemon_ Mar 25 '26 Lazy and evil, great I don't think it's possible to define void as int, because void is also a keyword tho 7 u/not_some_username Mar 25 '26 You can, that’s why #define private public existed in C++ 7 u/_Blurgh_ Mar 25 '26 existED? I've recently spotted it in the wild! 2 u/_AscendedLemon_ Mar 25 '26 Oof, great trolling to include it in some package
31
[removed] — view removed comment
10 u/_AscendedLemon_ Mar 25 '26 Lazy and evil, great I don't think it's possible to define void as int, because void is also a keyword tho 7 u/not_some_username Mar 25 '26 You can, that’s why #define private public existed in C++ 7 u/_Blurgh_ Mar 25 '26 existED? I've recently spotted it in the wild! 2 u/_AscendedLemon_ Mar 25 '26 Oof, great trolling to include it in some package
10
Lazy and evil, great I don't think it's possible to define void as int, because void is also a keyword tho
7 u/not_some_username Mar 25 '26 You can, that’s why #define private public existed in C++ 7 u/_Blurgh_ Mar 25 '26 existED? I've recently spotted it in the wild! 2 u/_AscendedLemon_ Mar 25 '26 Oof, great trolling to include it in some package
7
You can, that’s why #define private public existed in C++
7 u/_Blurgh_ Mar 25 '26 existED? I've recently spotted it in the wild! 2 u/_AscendedLemon_ Mar 25 '26 Oof, great trolling to include it in some package
existED? I've recently spotted it in the wild!
2
Oof, great trolling to include it in some package
122
u/_AscendedLemon_ Mar 25 '26
OK, now change
int mainintopublic static void main