Re: Off Topic: English Grammar, Spelling, colloquialisms, etc.
- Posted by useless_ Apr 22, 2012
- 2403 views
Here's another that i see every day that gets me every time, because it explicitly says the wrong thing:
"The assert is intended to only execute the test during the development phase of the application."
Obviously, it's not meant to only execute the test, it's also supposed to take some action based on the test result. Also, this line doesn't specify what happens at any other time, it doesn't rule out the test executing during non-development time.
The word "only" seems to be getting placed as far away as possible from the word or phrase it's modifing. In this case, i believe the sentence should be:
"The assert is intended to execute the test only during the development phase of the application."