Re: "An unused variable"
You can get unused return warnings by adding an annotation to the function.
58 posts • joined 14 Dec 2009
"In the case of Telegram's requirement, it might be sufficient simply to report which users are within a seven-mile radius, for example, rather than exposing their exact distance away."
I fail to see how that actually solves the problem, unless there's a lot of randomness added or it uses a constant arbitrary point for distance (say, everyone in a postal code is at the center of that postal code). Otherwise it just means it takes more than 3 readings, big whoop.
Except when done properly, continuous integration also runs the tests and won't deploy on test failure. Even better systems won't allow the commit without those tests or fail the push on failed tests.
Putting those things in the past is bad devs or bad management blaming the methodology when it's really on them. See also: Agile.
<blockquote>Now, how can you use an AMD APU in that price range </blockquote>
PS4 - $299
XBox One- $199
Both AMD. Now, they're bigger companies, so expecting $250 from Atari is probably a pipe dream. I'm suspicious about it, but it doesn't seem entirely out of the realm of possibility.
Edge conditions need to be in unit tests. So yeah, the initial phase of that testing is on the same person. Incompleteness of those tests should be caught in code review.
If it makes it past those two steps, then it's on the testers. But depending solely on QA is itself a bad practice.
Biting the hand that feeds IT © 1998–2022