She Was a Girl, He Was a Boy
she was a girl for a, b, c, d, e in \ itertools.product(range(10), repeat=5): he was a boy for a in range(10): for b in range(10): for c in range(10): for d in range(10): for e in range(10):
A young man and woman stand outside while Python code overlays label the girl with a compact Cartesian-product loop and the boy with deeply nested loops. The joke contrasts an elegant, efficient programming solution with a repetitive brute-force approach, using the familiar “she was a girl, he was a boy” lyric format as a reaction to different coding styles. EN: A young man and woman stand outside while Python code overlays label the girl with a compact Cartesian-product loop and the boy with deeply nested loops. The joke contrasts an elegant, efficient programming solution with a repetitive brute-force approach, using the familiar “she was a girl, he was a boy” lyric format as a reaction to different coding styles.
young man / молодой мужчинаyoung woman / молодая женщинаblack coat / чёрное пальтоred shirt / красная рубашкаplaid shirt / клетчатая рубашкаjeans / джинсыtree / деревоresidential building / жилой домconcrete pavement / бетонный тротуарstairs / ступенькиPython code / код Pythoncode overlay / наложение кодаtrash bin / мусорный бак
- @gentoomemes / 3663 2023-04-06
- Template
- She Was a Girl, He Was a Boy
- Type
- image
- Size
- 800×529 · 71.3 KiB
- Mood
- sarcastic, nerdy
- Language
- en
- Added