Programming Alignment Chart
int main(int argc, char *argv[]) int main(int argc, char** argv) main(argc, argv) char *argv[] LAWFUL GOOD int main(void) main() int main() LAWFUL NEUTRAL TRUE NEUTRAL CHAOTIC NEUTRAL int main(int argc, char *argv[], char *envp[]) void main() const int main[] = { 443987883, 446 113408, 4149, 899584, 84869120, 1 266023168, 181875901, 1 -1017312735 }; LAWFUL EVIL NEUTRAL EVIL CHAOTIC EVIL
A 3×3 alignment chart shows nine increasingly unconventional ways to write a C/C++ main function, from the orderly “int main(int argc, char *argv[])” to bizarre declarations and raw integer data. The joke applies the Dungeons & Dragons alignment chart to programming style, with chaotic evil representing code that technically works but is wildly unreadable or nonstandard.
code text / текст кодаprogramming syntax / синтаксис программированияC language function / функция языка CC++ function / функция C++alignment chart / таблица мировоззренийdark background / тёмный фонwhite labels / белые подписиcolored syntax highlighting / цветная подсветка синтаксисаnumbers / числаsemicolon / точка с запятой
- @dev_meme / 1684 2020-06-11
- Template
- Programming Alignment Chart
- Type
- image
- Size
- 640×640 · 40.6 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added