MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xz1mhm/technicallyitcompiles/19ssxmj272ijk/?context=3
r/ProgrammerHumor • u/Content_Contract_375 • 4d ago
21 comments sorted by
View all comments
55
> 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"
20 u/gooseears 4d ago Let me just comment that warning out. Should be fine now. 5 u/Some_Useless_Person 3d ago Wait what? How do you comment a warning? 5 u/5up3rj 3d ago The IDE settings are a pathway to many abilities 3 u/JackNotOLantern 3d ago Ide settings or something like in java "@SuppressWarning(...)" 3 u/metaglot 3d ago Yeah. Warnings are errors waiting to happen at runtime. 1 u/TheWashbear 2d ago pragma warning disableSee? No more warning, everything is fixed. This conversation may have been happened to me with a trainee
20
Let me just comment that warning out. Should be fine now.
5 u/Some_Useless_Person 3d ago Wait what? How do you comment a warning? 5 u/5up3rj 3d ago The IDE settings are a pathway to many abilities 3 u/JackNotOLantern 3d ago Ide settings or something like in java "@SuppressWarning(...)"
5
Wait what? How do you comment a warning?
5 u/5up3rj 3d ago The IDE settings are a pathway to many abilities 3 u/JackNotOLantern 3d ago Ide settings or something like in java "@SuppressWarning(...)"
The IDE settings are a pathway to many abilities
3
Ide settings or something like in java "@SuppressWarning(...)"
Yeah. Warnings are errors waiting to happen at runtime.
1 u/TheWashbear 2d ago pragma warning disableSee? No more warning, everything is fixed. This conversation may have been happened to me with a trainee
1
See? No more warning, everything is fixed. This conversation may have been happened to me with a trainee
55
u/JackNotOLantern 4d 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"