You are viewing a single thread.
View all comments View context
13 points

implying that any developer actually reads warnings

permalink
report
parent
reply
14 points
*

most of my (rust) projects have zero (or maybe 1-2) warnings, unless I’m in the middle of working on a feature

permalink
report
parent
reply
24 points

First thing I do on my projects is enable warnings as errors and increase my warning levels when reasonable.

Unfortunately, the same can’t be said on the projects I work on at work. Drives me crazy that we get likes 300+ warnings whenever we run the app and that we can’t change it because "they’re just warnings*.

permalink
report
parent
reply
8 points

🤢 Good lord.

Though, I say that as I was basically forced to accept code that was using something marked deprecated because it was unreasonable to refactoring the code in that project. And I know we’re never going to change it unless it stops working. 😭 At least I marked it as an issue on the review.

permalink
report
parent
reply
7 points

That’s when you add #![deny(bad_code)], making sure that nobody notices.

permalink
report
parent
reply
5 points

It’s not that we want to ignore warnings. It’s just that most warnings take time to fix.

There’s only so many hours in a day. And we have to accept technical debt in order to deliver, and then pay it off later.

My job does it well by doing a “spring” and “summer” cleaning where we can turn out 100+ warnings into the single digits. Then busy season happens again and we’re back to 200+.

permalink
report
parent
reply
3 points

Drives me crazy that we get likes 300+ warnings whenever we run the app and that we can’t change it because "they’re just warnings*.

Laughs in Xamarin. Only 300?

Well, it was a year ago, is Xamarin now finally changed to the new thing (what was it’s name)?

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 3.7K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments