#4 Interface for Output, Update

Aberta
aberta %!s(int64=2) %!d(string=hai) anos por stevet · 0 comentarios

Investigate creating an interface for Door objects that have Output() and Update() functions.

I'm not sure if this would be useful or not, but it certainly would make things more like what go expects. (I didn't do it in door++ because it would have required me to make a base class. Seemed like more trouble then it was worth -- and Door class already knows how to output objects via the operator<<.)

Investigate creating an interface for Door objects that have Output() and Update() functions. I'm not sure if this would be useful or not, but it certainly would make things more like what go expects. (I didn't do it in door++ because it would have required me to make a base class. Seemed like more trouble then it was worth -- and Door class already knows how to output objects via the operator<<.)
Accede para unirte á conversa.
Sen fito
Sen asignado
1 participantes
Cargando...
Cancelar
Gardar
Aínda non existe contido.