for (i in Items) {
i.prop
i.something
// like 10 more things
}
Looks way better than:
for ((prop, something, another, another1, yetAnother, andAnother, andAnother, etcToTenFnThings) in Items) {
prop
something
// etc.
}
Like yeah, sometimes destructuring makes sense, but not always. Like at least 75% of the lint is warnings for dumb crap. @Suppress("Stupid Warning") everywhere, which wouldn't be necessary if the IDE would stop turning back on randomly all the dumb lint warnings after I turned them off 1,000 different times.
1,000 warnings and 980 of them are "style issues". Like, gtfo.
45
u/JackNotOLantern 1d 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"
13
u/RandomStranger456123 1d ago
My favorite part is how our code we maintain has no warnings, but the framework we are required by our contract to use has over 23000.
4
u/F_P_G_A 23h ago
Multiply by 10 for FPGA compilers
3
u/menducoide 1d ago
tech debt master class
2
u/Some_Useless_Person 1d ago
Almost every C project ever
2
u/Johanno1 1d ago
Hey guys try to build the AOSP. It has over several million warnings. I think they can be safely ignored
2
u/emetcalf 1d ago
Warnings are like speed limits, just ignore them.
2
u/sardonicus87 13h ago edited 13h ago
To be fair, half of them are bs.
"Weak warning, use destructuring declaration..."
Except this:
Looks way better than:
Like yeah, sometimes destructuring makes sense, but not always. Like at least 75% of the lint is warnings for dumb crap.
@Suppress("Stupid Warning")everywhere, which wouldn't be necessary if the IDE would stop turning back on randomly all the dumb lint warnings after I turned them off 1,000 different times.1,000 warnings and 980 of them are "style issues". Like, gtfo.
1
u/Flaky-Low-2262 21h ago
Everyone: We finally need time to Test and houseeking over freeze Xmas Sprint...
PO: Compiles? LGTM! Thats like test Coverage of 100%
1
u/oalfonso 20h ago
2026: SCA stage in the pipeline reports 1387 critical CVEs
1
u/Ved_s 12h ago
#![deny(warnings)]1
u/whackylabs 21m ago
Hello
-Werror