3

I was taking notes and I've written:

Our "State" class can either be "StartState" or "StopState" and depending on that we'll have different functionalities

Is that correct? Idk why but it doesn't sound so xD

Thanks for your time and please feel free to correct any other mistakes I've made!

Have a nice day!

1

I wouldn't say it's obviously correct but you can say that.

  • Our "State" class can either be "StartState" or "StopState" and depending on that we'll have different functionalities.

What actually happens here is that you omit some word that refers to (which word it is is unknown, which isn't pleasing actually).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.