Stop Using Arrays
STOP USING ARRAYS LISTS WERE NOT SUPPOSED TO BE INDEXABLE YEARS OF INDEXING yet NO REAL-WORLD USE FOUND for accessing elements in any order other than FORWARD Wanted random access anyway for a laugh? We had a tool for that: It was called “PASSING BY REFERENCE” "Yes please give be the ZEROth item. Please give me the item WHOSE INDEX IS THE SIZE OF THE ARRAY MINUS ONE" - Statements dreamed up by the utterly Deranged LOOK at what Programmers have been demanding your Respect for all this time, with all the items & contiguous memory we gave them (This is REAL Code, done by REAL Programmers): if (isArray(source) || isString(source)) { for (let i = 0, i < source.length; i++) { renderItem(source[i], i) } } const i = queue.indexOf(job) if (i > flushIndex) { queue.splice(i, 1) } ????? ?????? ???????????????? “Hello I would like you to read this book one random page at a time please” They have played us for absolute fools
A programming parody presents arrays as if they were a terrible design, mocking indexing, zero-based positions, and random access. The punchline is that the supposedly absurd code is ordinary real-world programming, compared to asking someone to read a book one random page at a time. It is used as a reaction to jokes about programmers overcomplicating simple tools or misunderstanding how arrays are meant to work.
programming code / программный кодarray / массивlist / списокbook / книгаpages / страницыtext document / текстовый документbullet points / маркированный списокwhite background / белый фонblack text / чёрный текстred question marks / красные вопросительные знакиcomputer programming / компьютерное программированиеqueue / очередьcode editor snippet / фрагмент редактора кода
- @right_wing_dev_squads / 6574 2023-04-25
- Type
- image
- Size
- 680×680 · 113.6 KiB
- Mood
- sarcastic, absurd
- Language
- en
- Added