You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some classes in the twilio/base folder which are basically a copy-paste between each other.
Couldn't just they be implemented in the way TwilioException is, as an abstract interface, which then each of these classes implementing such interface?
I think this would be a better code practice than the currently version is,
The text was updated successfully, but these errors were encountered:
The classes I assume you are referring to (InstanceContext, InstanceResource, ListResource) are only identical because they are empty. They serve as abstract classes to be expanded upon. As a sample:
Issue Summary
There are some classes in the twilio/base folder which are basically a copy-paste between each other.
Couldn't just they be implemented in the way TwilioException is, as an abstract interface, which then each of these classes implementing such interface?
I think this would be a better code practice than the currently version is,
The text was updated successfully, but these errors were encountered: