4 ms·
Math has the concept of non-compiling code: a proof that is wrong. You get partial credit if you get early steps right, and more if latter steps are right. The
by bluGill 9y ago
Math has the concept of non-compiling code: a proof that is wrong. You get partial credit if you get early steps right, and more if latter steps are right.
The idea that code that doesn't compile is not worth partial credit is wrong in academics. In the real world the code needs to compile first, of course, then run. However if your professors cannot look at your code that doesn't compiler and decide how much partial it is worth there is a problem.
That said, getting code to compile is a trivial part of the problem.
- bluejekyll 9y agoI'm fairly certain that in my CS program, you could only get a passing grade with a compiling and partially working program. 75% of the grade was compiles and works, and the rest was style, readability, and performance. If it didn't compile, you basically failed the assignment, if it didn't work you could get up to, but not more than a C, 75 out of 100.
- tucif 9y agoHow do you "decide how much partial it is worth" ? Generally the task is not writing code, it is solving a specific problem and non-compiling code is a non-solution, not a partial one.
- freshhawk 9y agoThe same way as you would in every other type of education. If you know what you are doing, it is easy to see how close the student came to getting it right or if they were completely on the wrong track.
- tucif 9y agocouldn't this open the path to approving programming courses without ever handing in compiling code? What about pseudo code that has the "right logic" but will never compile? What if I submit python code that works as a c file, should that count?
- bluGill 9y agoI passed a lot of my math and physics courses even though the majority of my proofs were incorrect in some way. I didn't get full credit, but I got enough to get some.
- erikpukinskis 9y ago> In the real world the code needs to compile first, of course, then run This is not true in my experience as a professional. I write pseudocode all the time. Often the fastest way to evaluate architecture choices is to sketch out your architecture, sketch the consumers of your proposed API, and see what issues come up. Making this kind of code compile is a waste of time. Reading code without the computer is a crucial skill. Graders require compiling code because it's easier to grade.
- Joof 9y agoI wish math compiled. It would be a hell of a lot easier to figure out if I did it properly. It doesn't seem feasible for most fields though.