this post was submitted on 27 Mar 2024
947 points (98.2% liked)

Programmer Humor

19450 readers
598 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 7 months ago (2 children)
[–] [email protected] 10 points 7 months ago

It’s more language dependent than ide. Go for instance makes unused variables a compiler error (I believe) which means ides mark it as red immediately.

Ts/js can have eslint rules against unused variables but they will still usually compile or just run directly anyway.

Java doesnt error but can be set to warn you on them.

Abap doesn’t care and won’t tell you.

Your mileage will vary.

[–] [email protected] 2 points 7 months ago

I've seen it with multiple IDE's