Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
1. This is for follow on classes no?
2. Considering he is teaching people who have never coded then he wants you to use what he gives you. There will be plenty of time to get creative in your code. He wants to ensure you learn the current topic.
3. This is a reaction to people who don't learn to comment at all. What do you interpret as what needs commenting?
4. mingw works just fine on Windows. msvc is a lot better than it used to be as well. I have found bugs in mingw that forced me to switch to msvc.
1. Idk what that is this is a high school class
2. We had already had four or five classes going over switch and if else statements. I'm pretty sure everyone got it, but you do have a point.
3. If something doesn't make sense to the reader, or isn't very readable, it needs commenting. One-liners are the first thing I think of. They do something short, but they're hard to understand without comments. He was teaching us that stuff like 'int ageOfUser = 3' should be commented with 'declarse variable ageOfUser to 3', when it's pretty obvious what's going on.
4. There are some std lib differences between Linux and Windows. The program would compile on my computer, but not on his because of some std library function differences
Hazarth87272y1. C++ isn't a bad language to start with at all, it may have over 90 keywords, but to start with you only need < 10 anyway. You can use pretty much any language to teach beginners as long as you understand it very well yourself... They don't have stupid ideas about language supremacy yet
2. this is a red flag to me. Sounds to me that the teacher himself isn't very well versed in programming then. To me it seems like he was asked to teach programming and prepares classes from online tutorials just before the lessons... No actually programmer and teacher would deduct points to a better solution without explaining what it isn't better...
3. Again, this sounds like he took something he heard about comments to an extreme, because he has no reference for how commands are used in real projects... sounds like the teacher is a hobbyist at best and completely clueless at worst
4.This I don't find that offensive, at least online compilers allow you to jump straight to teaching. eh
nickj58today at programming class... professor: today we will be teaching you about vim and using the terminal and s...
theNox2In my first semester we had a Hall of Fame for the programming tests and this was the message above the live s...
nickj4me: so can i use strlen? intern: no!! you need it implement it! me: *calls teacher* hey can i use strlen? teac...