Programming Professor shinanigains
Posted: Tue Jan 24, 2017 12:31 am
Hello,
I couldn't think of a better topic to post this question in other than programming discussion because it has to do with programming. To be more specific, learning programming from a tenured college professor who may or may not know how to teach or what they're doing.
I am a sophomore undergraduate studying Computer Science. I already have a background in programming with C++ and I've been interested in programming and studying it since I was about 12. In other words, I'm good enough off to have my own opinions on how something should be coded.
But moving along, today, my professor gave a lecture about structs and a classes in C++. Her description of a class was correct to my understanding. When she talked about structs, she actually talked C-style structs (no member functions, no default constructor, all that jazz) and this class is about C++, may I remind you. And I feel as though structs in C and C++ are different enough that it is incorrect to say you can't have member functions declared inside a struct is incorrect in the context of a college course about C++.
To my understanding (and please tell me if I'm an idiot), the biggest most important difference between a struct and a class is that a struct is public by default and a class is private by default. Any other differences mostly have to do with C compatibility with C++. So to me, when I walked out of that class, I felt like she was wrong to teach it like that.
I recall a few spin-off videos Falco made (old ones) where he says a lot of "I don't give a shit if your professor says..." where the following is some belief about how things should be implemented when Falco makes the point that it's not necessarily the best/quickest/most efficient way of implementing that thing.
This is sort along the same line of thinking. Your college professors, however smart they may be, could very well be a crazy jackass that teaches a way of programming that will be eventually be unlearned (at least by me) so that a more efficient, optimal way may be used.
What does a lowly novice/intermediate/adept programming do in order to get by with professor's being incorrect or scolding you for not programming the way THEY want you to program?
Thank you for any answers. And if I am way wrong or out-of-line, or crazy, please tell me otherwise. I really want to learn any and all I can.
I couldn't think of a better topic to post this question in other than programming discussion because it has to do with programming. To be more specific, learning programming from a tenured college professor who may or may not know how to teach or what they're doing.
I am a sophomore undergraduate studying Computer Science. I already have a background in programming with C++ and I've been interested in programming and studying it since I was about 12. In other words, I'm good enough off to have my own opinions on how something should be coded.
But moving along, today, my professor gave a lecture about structs and a classes in C++. Her description of a class was correct to my understanding. When she talked about structs, she actually talked C-style structs (no member functions, no default constructor, all that jazz) and this class is about C++, may I remind you. And I feel as though structs in C and C++ are different enough that it is incorrect to say you can't have member functions declared inside a struct is incorrect in the context of a college course about C++.
To my understanding (and please tell me if I'm an idiot), the biggest most important difference between a struct and a class is that a struct is public by default and a class is private by default. Any other differences mostly have to do with C compatibility with C++. So to me, when I walked out of that class, I felt like she was wrong to teach it like that.
I recall a few spin-off videos Falco made (old ones) where he says a lot of "I don't give a shit if your professor says..." where the following is some belief about how things should be implemented when Falco makes the point that it's not necessarily the best/quickest/most efficient way of implementing that thing.
This is sort along the same line of thinking. Your college professors, however smart they may be, could very well be a crazy jackass that teaches a way of programming that will be eventually be unlearned (at least by me) so that a more efficient, optimal way may be used.
What does a lowly novice/intermediate/adept programming do in order to get by with professor's being incorrect or scolding you for not programming the way THEY want you to program?
Thank you for any answers. And if I am way wrong or out-of-line, or crazy, please tell me otherwise. I really want to learn any and all I can.