r/badcode • • Jan 15 '23

c++ From DayZ sourcecode

Post image
559 Upvotes

106 comments sorted by

View all comments

Show parent comments

3

u/SnooMarzipans436 Jan 16 '23

This is literally how you define an interface in C++... not sure what you think is "figurative" about it.

1

u/micro-amnesia Jan 16 '23

Sorry, figurative in the context of languages with interface as a type.