A Gang of Arguments vs One Pointy Boi
WHO WOULD WIN? A GANG OF ARGUMENTS ONE POINTY BOI STARTUPINFO si; ZeroMemory(&si, sizeof(si)); PROCESS_INFORMATION pi; BOOL success = CreateProcessA( "C:\\Windows\\System32\\cmd.exe", NULL, // lpCommandLine NULL, // lpProcessAttributes NULL, // lpThreadAttributes FALSE, // bInheritHandles NULL, // dwCreationFlags NULL, // lpEnvironment NULL, // lpCurrentDirectory &si, // lpStartupInfo &pi // lpProcessInformation ); pid_t fork(void);
A mock “Who Would Win?” matchup compares a large, intimidating Windows process-creation function with the tiny Unix fork function. The joke is that one pointy line of code is presented as stronger than an entire gang of verbose arguments, poking fun at the simplicity of fork versus the complexity of CreateProcessA.
- @profunctor_io / 5936 2020-12-03
- @right_wing_dev_squads / 7470 2023-08-25
- Template
- Who Would Win?
- Type
- image
- Size
- 800×349 · 35.4 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added