"We had a good thing, you stupid son of a bitch! We had StackOverflow with incredible answers to all CS, Maths, DB, programming and systems questions, we had everything we needed, and it all ran like clockwork! You could have shut your mouth, accept that your question was closed as a duplicate, and made as much money as you ever needed working in tech! It was perfect! But no! You just had to blow it up! You, and your pride and your ego! You just had to invent AI and LLMs! If you'd done your job, known your place, we'd all be fine right now!"
@valigo The Third Reich really liked law-abiding citizens.
Preferably, no person should strive to be a law-abiding citizen. Strive to be a good human being, which will require you to break many laws in any country. Weigh the consequences and act based on that.
@HSVSphere Hey, I'm running Void, and I like it! (and I use some flatpaks) It's definitely better than Manjaro, which I used before... I may be a masochist.
@vicentesurraco@akarbiv@tsoding The original point was that, when prototyping code, unused variables arise. It's better to get a warning for them instead of doing those weird hacks. You eliminate unused variables when committing.
@vicentesurraco@akarbiv@tsoding x := 1
// you have an error
x := 1
_ = x
// you don't have an error and don't have a warning
In a programming language that emits warnings, you'd have just a warning in the first case and wouldn't have to resolve to the second case.
@vicentesurraco@akarbiv@tsoding You should treat unused variable warnings as errors when committing. '_ = var' makes it so you don't even get a warning and increases the chances of you not removing it.
@fromdevoid@Heav2point0@tsoding In this specific example, making the condition always false is equivalent, but for me, commenting it out is better. The whole point is that I don't like satisfying unnecessary bureaucracies, that can be circumvented in some other way anyway.
@fromdevoid@Heav2point0@tsoding Thanks for the unblock. In this context commenting out a variable means, as an example, commenting out some if condition with an associated block where the variable is used.