Topic: I hate my C++ teacher! I only got 21/20 :sad smilee:
Blayne Bradley
unregistered
posted
Argh! So its like this I spend a solid WEEK working on my C++ homework, he spend 2 weeks correcting it and in class, he doesnt hand them out right away he tells us he has finished correcting thema nd then WAITS the entire 1.5 hour class before handing us the papers and instead of organizing and handing out the tests in aphlabetical order he hands them out at RANDOM aaargh! I wait 15 minutes before I get my paper and despite beign the first student with a B beginning my last name, its like a frakin' suspence film.
And to top it all off he gives me a 21/20 rather then the 25 I know I deserbed. apparently my comments were too wordy, c'mon anyone who knows programing well enough to be reading my code doesnt need to know what a line does only a description of what the function is supposed to do inside it.
posted
Comments too WORDY? That's a new one to me... He's lucky to have comments at all in the real world.
I really hated that part of classes I take. I'd have to comment everything, even the dumbest things. Thinks like...
int A = B + C; // Add "B" and "C" to get "A".
The current program I'm working on has 100,000+ lines of code I've written without a single comment, so I'm not much of a role model here.
Posts: 3486 | Registered: Sep 2002
| IP: Logged |
Blayne Bradley
unregistered
posted
Okay the teacher says not to comment obvious things, and regarding an earlier comment by KoM what I do now is assume the person reading/debugging my code is competant and simply describe that I am trying to do rather then fidget on every line with a comment, so i end up commenting an ID block above my function doing so example.
code:
/***************************************** . Conversion . This function will do the convert Infex to Postfix notation by using the pop and push stack functions to push and pop Operands and Operators etc etc. *****************************************/
I ALMOST got -4 off for compiler errors which turned out was because he was correcting on Studio 6.0 not 2k5 like normal people. So they had diffeent librarys and my code would blow up on it.
IP: Logged |
I was a TA for a semester, and had the unenviable task of grading java programs.
It sucked. I mean really sucked. I wasn't able to be very consistent either, even with a guide. I realized at the end that I wasn't taking points off for things which I was taking off at the beginning for, and vise versa. Considering it took me like three days to grade 150+ programs, I wasn't about to go back through and regrade them.
I very much expected to get strung up by angry students, but if any complained, it didn't get back to me.
The reason I quoted this sentence is that one imperative that the teacher gave was that if the program didn't compile, it was an automatic 0% score.
It was painful to give, especially when I could read the program and see that it had been written well. I had one program which was written extremely well, but the student must have tried to change something small at the last minute, because it no longer compiled.
I hated grading programs. It truly sucks.
Posts: 5656 | Registered: Oct 1999
| IP: Logged |
posted
I hate it when students hate me because they're unhappy with their grade, as if that were something I did to them.
quote:Originally posted by Blayne Bradley: Argh! So its like this I spend a solid WEEK working on my C++ homework, he spend 2 weeks correcting it and in class, he doesnt hand them out right away he tells us he has finished correcting thema nd then WAITS the entire 1.5 hour class before handing us the papers and instead of organizing and handing out the tests in aphlabetical order he hands them out at RANDOM aaargh! I wait 15 minutes before I get my paper and despite beign the first student with a B beginning my last name, its like a frakin' suspence film.
I don't see anything wrong with any of this. I hand papers back in random order myself.
quote:And to top it all off he gives me a 21/20 rather then the 25 I know I deserbed. apparently my comments were too wordy, c'mon anyone who knows programing well enough to be reading my code doesnt need to know what a line does only a description of what the function is supposed to do inside it.
This seems self-contradictory to me. It sounds like you're saying your professor didn't think your comments were wordy enough.
Posts: 13680 | Registered: Mar 2002
| IP: Logged |
posted
Am I correct in understanding that the maximum grade on this assignment was equivalent to 125%? Wow. I don't think much of your teacher either, then.
Posts: 13680 | Registered: Mar 2002
| IP: Logged |
quote:Originally posted by Icarus: I don't see anything wrong with any of this. I hand papers back in random order myself.
I had one teacher who handed 'em back in reverse alphabetical order. Why should the A's and B's always be first?
Posts: 32919 | Registered: Mar 2003
| IP: Logged |
posted
I prefer random order passing back myself, since it gives anyone the chance to be first. Of course that may be because my last name is in the middle of the alphabet and so in either alphabetical or reverse alphabetical I'm still in the same spot.
Posts: 1960 | Registered: May 2005
| IP: Logged |
posted
It doesn't matter how you hand out the papers, or what grades you give your students, because, ineveitably, one of them will always find a reason to begin whining, and then vent their vitriol onto a message-board somewhere...
Posts: 1480 | Registered: Dec 2004
| IP: Logged |
quote:Originally posted by Xavier: The reason I quoted this sentence is that one imperative that the teacher gave was that if the program didn't compile, it was an automatic 0% score.
It was painful to give, especially when I could read the program and see that it had been written well. I had one program which was written extremely well, but the student must have tried to change something small at the last minute, because it no longer compiled.
In most of the programming classes that I've ever taken, 0% for compiler errors has been the policy. The big difference between these classes and Blayne's, as far as I can tell, is that in my classes it was always very clear what compiler would be used. We also had ssh access to the machines that would be used to compile, so if there was a compiler error it was clearly our fault.
In my mind, this is an absolute necessity if you are going to be marking off heavily for compiler errors. Different compilers have their own quirks, so if it doesn't work because of a small difference, it seems a shame to take off that much for.
That said, if the project was seriously out of 125% and you still got over 100%, there doesn't seem to be that much to complain about.
Posts: 2437 | Registered: Apr 2005
| IP: Logged |
quote:Originally posted by Icarus: Am I correct in understanding that the maximum grade on this assignment was equivalent to 125%? Wow. I don't think much of your teacher either, then.
I couldn't agree more... I HATE the concept of grading on some artificially inflated scale.
As far as I'm concerend this just means that he really got 21/25, or 84%.
Posts: 409 | Registered: Apr 2002
| IP: Logged |
Blayne Bradley
unregistered
posted
....... errrrm did no one realize that I was speaking partially in jest? Like I was being you know humurous, like Oh! I only got X percent! Kind of thing?
IP: Logged |
posted
Wait, I'm still hung up on the "Comments too WORDY" issue.
I've written millions of lines of code and I can tell you that comments can't be too wordy. Sure they can be pointless but never too wordy. However, my code tends to annoy people in other ways as I write code like this: (complete with spelling mistakes and everything.)
code:
// Once the Antenna View Period has been found // and added to the output data streem it is // no longer needed and discared from the set. while( m_bIsAllEmpty == false ) { pFacility = GetFacilityWithActiveAntenna(m_sFDFName); if(pFacility != NULL) { pFacility->RemoveAntenna(); if( pFacility->Empty() == true ) { m_bIsAllEmpty = true; } } else { m_bIsAllEmpty = true; } }
quote:Originally posted by Blayne Bradley: ....... errrrm did no one realize that I was speaking partially in jest? Like I was being you know humurous, like Oh! I only got X percent! Kind of thing?
Honestly, no, that didn't really come across for me at all. You might want to be more careful about that in the future. Let's face it, subtlety can be hard to express over a forum post.
Posts: 2437 | Registered: Apr 2005
| IP: Logged |
I'm working on maintaining and porting 100k+ lines of Fortran and Ada that are "sparsely" commented. I've found comments like "Don't know why this works, but if we remove it it breaks".
Posts: 1069 | Registered: Feb 2005
| IP: Logged |
quote: The current program I'm working on has 100,000+ lines of code I've written without a single comment, so I'm not much of a role model here.
If you are the only one who ever has to look at this code, that's one thing. But if any other human ever has too work with your 100,000+ lines of uncommented code, there is no punishment which could fit the magnitude of your crime.
Posts: 12591 | Registered: Jan 2000
| IP: Logged |
quote:Originally posted by TomDavidson: Unless it's another spam engine, in which case he's doing the world a favor.
But isn't writing another spam engine in and of itself a crime comparable to serial killing? Could failing to properly comment such a code possibly compensate for writing it in the first place?
Posts: 12591 | Registered: Jan 2000
| IP: Logged |
posted
Oh don't start with the "spam engine" crap again...
Maybe I think too highly of the code I write. I'm from the school of thought that if code is properly written, legible, clean, uses proper object names, and is separated in to appropriate class files contained in a directory tree, it should be self-explanatory. And if you're not savvy enough in programming to be able to figure how things work based on the code and structures provided, you probably have no business being in that code to begin with.
But, again, that's probably me thinking too highly of it.
*EDIT* And people that do things like "... == true" and especially "... == false" drive me crazy.
Posts: 3486 | Registered: Sep 2002
| IP: Logged |
posted
I'm pretty much "One True Brace" style myself, though I'd never heard it called that. But then, I actually learned C from The C Programming Language, so I guess it makes sense.
My indentation gets all screwed up in markup languages, since the text is not commands, and when I write paragraphs I don't really look at the screen, so I'm not inclined to artificially insert line breaks and indentations into a whole big block of text. So if it's something I mess around with a lot, it's liable to get really ugly by the end.
I never was as good about commenting as I ought to have been, but I would at least make an effort.
Posts: 13680 | Registered: Mar 2002
| IP: Logged |
quote:And if you're not savvy enough in programming to be able to figure how things work based on the code and structures provided, you probably have no business being in that code to begin with.
Clear code = can be eventually deciphered Clear code + comments = can be deciphered more quickly
Posts: 37449 | Registered: May 1999
| IP: Logged |