Embedded C Programming Design Patterns: Factory Pattern

preview_player
Показать описание
🎓 Udemy courses: get book + video content in one package:
🎓 Books: get my written content
🎓 Subscription: get all of the above content online + weekly live zoom calls
🎓 Free: join my network
Рекомендации по теме
Комментарии
Автор

i have a question at 16:08 in shape_circle_init function, you wrote "self->api = &_circle_api;" but to my understanding the "self" is a pointer to struct shape_circle which doesn't directly have "api". Is it supposed to be "self->shape.api = &_circle_api;"?

nguyentanhao
Автор

aka how to make code harder to understand and 'lets write it from scratch' instead

zoenagy
Автор

Do you actually ever manage to complete any embedded projects with all this over-complicated resource-hogging sacred cow cruft?

nezbrun