Wojak Argues About Array Indexing
int[] arr = new[10]; System.out.println(arr[10]); Noooooooooooooo!!!! You can't write code like that That will lead to an ArrayIndexOutOfBoundsException you clueless fool you should pay more attention to what your code is doing here let me help you maybe instead of directly accessing the array you should put it all in a class and make get(int) method that will check the index and handle invalid ones gracefully so your program doesn't crash in case you do something silly like this against trust me it's way safer this way and smarter too since it's more future-proof and it protects your variables from other dumb users int arr[10]; printf("%d\n", arr[10]); You're fucking retarded but here you go
В формате с Воджаком один персонаж возмущён ошибочным обращением к массиву и предлагает сложное «правильное» решение, а другой просто оскорбляет автора и даёт столь же проблемный код. Шутка высмеивает спор между чрезмерно усложняющим программистом и самоуверенным человеком, который не понимает ошибки выхода за границы массива. EN: In a Wojak format, one character is outraged by incorrect array access and proposes an elaborate “proper” solution, while the other simply insults the author and provides equally problematic code. The joke mocks the argument between an overcomplicating programmer and a self-confident person who does not understand an array-bounds error.
- @gentoomemes / 14779 2024-11-16
- Template
- Wojak reaction meme
- Type
- image
- Size
- 787×800 · 115.9 KiB
- Mood
- саркастичный, абсурдный
- Language
- en
- Added