News for hackers. Stuff that matters.
Re:As Coding Boot Camps Close, the Field Faces a Reality Check by bluGill on Friday August 25, 2017 @10:52AM (#15098854)
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.

Re:As Coding Boot Camps Close, the Field Faces a Reality Check by erikpukinskis on Friday August 25, 2017 @12:47PM (#15099955)
> 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.

Re:As Coding Boot Camps Close, the Field Faces a Reality Check by Joof on Friday August 25, 2017 @06:22PM (#15102723)
I 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.
Re:As Coding Boot Camps Close, the Field Faces a Reality Check by bluejekyll on Friday August 25, 2017 @11:03AM (#15098922)
I'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.

Re:As Coding Boot Camps Close, the Field Faces a Reality Check by tucif on Friday August 25, 2017 @11:56AM (#15099393)
How 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.

Re:As Coding Boot Camps Close, the Field Faces a Reality Check by freshhawk on Friday August 25, 2017 @12:08PM (#15099513)
The 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.
Re:As Coding Boot Camps Close, the Field Faces a Reality Check by tucif on Friday August 25, 2017 @01:10PM (#15100229)
couldn'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?

Re:As Coding Boot Camps Close, the Field Faces a Reality Check by bluGill on Friday August 25, 2017 @03:40PM (#15101556)
I 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.