16

Which one is correct and making proper sense, Else is there any major difference between the two.

That code should be debuggable.

That code should be able to debug.

If there is no difference in the meaning. What will be the proper place to use each of the above.

1

1 Answer 1

29

These two are actually very different.

That code should be debuggable.

This one is fine - this is the correct and natural way to say what you're trying to say.

That code should be able to debug.

This one made me laugh a little bit, because I'm pretty sure you didn't intend to write this. Plus I wish what you wrote actually existed. It would make things a lot easier for me.

So what you actually wrote here is that your code should have the ability to debug. In other words, you wrote some sort of intelligent AI that is able to debug other code. Man, that'd be amazing. Definitely not what you meant though.

What you were probably looking for was this

That code should be able to be debugged.

Now that is grammatically sound, however it is not ever said this way because the structure is needlessly complicated.

Stick with the first choice for practically all uses. They have equivalent meaning, but in my experience, the first choice is much more common.

2
  • 3
    Good answer. Intelligent AI made me laugh though. What does the "I" mean in AI?
    – Ruslan
    Dec 21, 2015 at 18:47
  • 1
    Yes, my point was about intelligent intelligence...
    – Ruslan
    Dec 22, 2015 at 5:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .