, , , , , C. , , ..
, , , , - .
. , , , .
, . .
, , PHP, , copy on write algorithm, , , , , .
. cost Go , , , . C, ++ .
http.ResponseWriter, - ( ), , , .., , - , , .
PHP Java , .
,
, Interface{} Go, , , .
, : , , , , XML JSON. ! , - - , / .
But you can also use the term Interface to define an interface (e.g. java, C #, php, etc.) and use implementation methods. When any of the structures that satisfies these methods. It naturally implements the interface. This implementation project, called Duck Typing, is being read for more information https://en.wikipedia.org/wiki/Duck_typing