Really the main point I was trying to make is that code from other libraries can be easily used in code you make. If you bring in a library which supplies an HttpRequest, and you have an interface called Requester which has a Request() method, as long as HttpRequest has the Request() method, it conforms to the Requester interface and can be used where you'd want it to be used.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Really the main point I was trying to make is that code from other libraries can be easily used in code you make. If you bring in a library which supplies an
HttpRequest
, and you have an interface calledRequester
which has aRequest()
method, as long asHttpRequest
has theRequest()
method, it conforms to theRequester
interface and can be used where you'd want it to be used.