MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xz1mhm/technicallyitcompiles/19ssxmj272ijk/
r/ProgrammerHumor • u/Content_Contract_375 • 7d ago
23 comments sorted by
View all comments
62
> crash occurs> array out of bounds> look at the code> on the line it happens there is a warning> "may cause array out of bounds"
25 u/gooseears 7d ago Let me just comment that warning out. Should be fine now. 7 u/Some_Useless_Person 6d ago Wait what? How do you comment a warning? 7 u/5up3rj 6d ago The IDE settings are a pathway to many abilities 5 u/JackNotOLantern 6d ago Ide settings or something like in java "@SuppressWarning(...)" 3 u/metaglot 6d ago Yeah. Warnings are errors waiting to happen at runtime. 2 u/TheWashbear 5d ago pragma warning disableSee? No more warning, everything is fixed. This conversation may have been happened to me with a trainee
25
Let me just comment that warning out. Should be fine now.
7 u/Some_Useless_Person 6d ago Wait what? How do you comment a warning? 7 u/5up3rj 6d ago The IDE settings are a pathway to many abilities 5 u/JackNotOLantern 6d ago Ide settings or something like in java "@SuppressWarning(...)"
7
Wait what? How do you comment a warning?
7 u/5up3rj 6d ago The IDE settings are a pathway to many abilities 5 u/JackNotOLantern 6d ago Ide settings or something like in java "@SuppressWarning(...)"
The IDE settings are a pathway to many abilities
5
Ide settings or something like in java "@SuppressWarning(...)"
3
Yeah. Warnings are errors waiting to happen at runtime.
2 u/TheWashbear 5d ago pragma warning disableSee? No more warning, everything is fixed. This conversation may have been happened to me with a trainee
2
See? No more warning, everything is fixed. This conversation may have been happened to me with a trainee
View all comments
62
u/JackNotOLantern 7d ago
> crash occurs
> array out of bounds
> look at the code
> on the line it happens there is a warning
> "may cause array out of bounds"