I was a TA in a class that expected knowledge of C. A lot of students who had only ever used Python asked if I could ring them up to speed. One student even asked if he could write it in Python and then I could “just translate it over”
Tbf I blame whoever did was planning the prerequisites. CS majors actively wish NOT to learn any more languages than they physically have to in my experience.
I was a TA in a class that expected knowledge of C. A lot of students who had only ever used Python asked if I could ring them up to speed. One student even asked if he could write it in Python and then I could “just translate it over”
Just add semi colons and brackets, right?
No that’s PHP.
Just put a bunch of asterisks everywhere.
That’s the seasoning.
It’s never spicy enough until you sprinkle enough around!
Tbf I blame whoever did was planning the prerequisites. CS majors actively wish NOT to learn any more languages than they physically have to in my experience.
It’s rather trivial to translate Python to C:
$ cat << EOF > ./shitpost.c && gcc -O2 -o ./shitpost ./shitpost.c && ./shitpost #include <stdlib.h> int main(int argc, char** argv) { system("python3 -c \\"print(\\\\\\"Hello, World!\\\\\\")\\""); return 0; } EOF Hello, World!My C is a bit rusty though, sorry.