Struct Circular Reference Confusion
What the fuck dude? struct csv_line { size_t a, u; unsigned char **v; }; struct csv_file { size_t a, u; struct csv_line *v; }; The guy who wrote this teaches a university course on operating systems, btw.
A social media screenshot shows a programmer reacting with disbelief to C code defining two structs that reference each other. The punchline is that the person who wrote the confusing code teaches a university operating systems course, making the apparent contradiction even funnier. It is used as a reaction to messy, overcomplicated, or suspicious programming.
social media post / публикация в соцсетиprogramming code / программный кодC structs / структуры Ccode editor screenshot / скриншот редактора кодаblack interface / чёрный интерфейсwhite code panel / белая панель с кодомprofile avatar / аватар профиляtext caption / текстовая подписьcomment icon / значок комментариевlike icon / значок лайка
- @gentoomemes / 11416 2024-05-22
- Type
- image
- Size
- 630×800 · 60.1 KiB
- Mood
- sarcastic, bewildered
- Language
- en
- Added