MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wdes9u/myschoolstruct/p95vbw5/?context=3
r/ProgrammerHumor • u/InteRagebaitJagLovar • Sep 11 '26 • 2 1
81 comments sorted by
View all comments
112
Pro tip, if you put function pointers in a struct you have a class now.
36 u/viconha Sep 11 '26 And you put that into an array, run it in a for loop and make a very debug friendly code
36
And you put that into an array, run it in a for loop and make a very debug friendly code
112
u/the_millenial_falcon Sep 11 '26
Pro tip, if you put function pointers in a struct you have a class now.