News for hackers. Stuff that matters.
Re:What do you want to see in Learn C The Hard Way? by dfox on Friday November 05, 2010 @01:13PM (#1873973)
Well, function pointers are only one aspect of this. Suprisingly many experienced C programmers I've met don't know that you can safely cast pointer to struct to pointer to it's first field, which is pretty important trick to achieve reasonable OO (with real inheritance) in C.
Re:What do you want to see in Learn C The Hard Way? by alnayyir on Friday November 05, 2010 @02:49PM (#1874342)
I know a line cook that codes C on his free time that would strangle someone who was paid to code that couldn't make a fake object + method calls out of a struct and function pointers.