code: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./*****************************************
. 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.
*****************************************/
quote:I was a TA for a semester, and had the unenviable task of grading java programs.
I ALMOST got -4 off for compiler errors
quote:I don't see anything wrong with any of this. I hand papers back in random order myself.
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.
quote:This seems self-contradictory to me. It sounds like you're saying your professor didn't think your comments were wordy enough.
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.
quote:I had one teacher who handed 'em back in reverse alphabetical order. Why should the A's and B's always be first?
Originally posted by Icarus:
I don't see anything wrong with any of this. I hand papers back in random order myself.
quote: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.
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.
quote:I was waiting for someone to mention that. You got 105%, what are you complaining about?
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.
quote:I couldn't agree more... I HATE the concept of grading on some artificially inflated scale.
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.
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: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.
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?
quote:I'd say that there's a special Hell for people like you, but you already live in Florida.
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.
quote: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.
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.
quote: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?
Originally posted by TomDavidson:
Unless it's another spam engine, in which case he's doing the world a favor.
quote:Clear code = can be eventually deciphered
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.