by mr_cyborg · 4y ago · 0 comments
Also the assignments were written to the autograder. So instead of saying “write a method that does X” it would say “write a method named NAME that takes in XYZ parameters and outputs exactly in QRS format”.
After having taken so many open-ended assignment classes that really hurt my brain.
That's a pretty realistic requirement, though, isn't it? If you're writing a class that's supposed to interoperate with other systems, it's not like you can just name things whatever you feel like. They have to fit the expected interface.
> write a method named NAME that takes in XYZ parameters and outputs exactly in QRS format
Yeah I hate that too. Personally I went with "your program should read JSON from stdin and write JSON to stdout". For students who had never seen JSON before, that was definitely some extra friction. But the upside is that it's something they're going to see a lot of in the real world.