this post was submitted on 12 May 2024
527 points (98.5% liked)

Programmer Humor

32175 readers
840 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 96 points 4 months ago (4 children)

Deprecation warnings should contain suggestions for alternatives.

[–] [email protected] 58 points 4 months ago (1 children)

The suggestions are also deprecated

[–] [email protected] 28 points 4 months ago

Or don’t support all the features

[–] [email protected] 6 points 4 months ago (1 children)

I feel like in android, the alternatives are always soooo long and tedious to implement

[–] [email protected] 1 points 4 months ago

Rust afaik does that too

[–] [email protected] 5 points 4 months ago (1 children)

PHP does that. I think a few others too.

Or maybe it was my IDE. I don't remember. Not a issue I deal with frequently.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

My assumption is that php itself is deprecated so they don't bother with warnings.

[–] [email protected] 3 points 4 months ago

What if the suggestions have warnings like "experimental" or "unstable"?

[–] [email protected] 10 points 4 months ago

This is me right now, constantly thinking about how to implement a thing I'm working on. Even in bed I wake up and think about it. Lols.

[–] [email protected] 6 points 4 months ago

I had to make a function called mysql_query() to get some old code back online. Twist the knife for me.

[–] [email protected] 3 points 4 months ago

I just like usleep better than nanosleep.