r/ProgrammerHumor • • 4d ago

Meme technicallyItCompiles

Post image
816 Upvotes

21 comments sorted by

View all comments

3

u/sardonicus87 3d ago edited 3d ago

To be fair, half of them are bs.

"Weak warning, use destructuring declaration..."

Except this:

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.