Re:Python’s tug of war between beginner-friendly and advance...
by franklyt on Thursday February 04, 2021 @11:28PM
(#26033112)
I’m not sure that statement is accurate, I could see an argument being made for C being a really good learning language.
[ Parent
| on HN ]
Re:Python’s tug of war between beginner-friendly and advance...
by BeetleB on Friday February 05, 2021 @01:25AM
(#26033669)
If your goal is low level programming, yes.
If your goal is understanding data structures, algorithms, etc, then C is hideous. Explaining function prototypes, include headers, very unfriendly I/O, and I already mentioned the horrible syntax for for loops.
There's a reason most of the data structures/algorithms were in a second course at my university: It's because it took most of one semester for students to get a handle on the very basics of C syntax.
Re:Python’s tug of war between beginner-friendly and advance...
by aYsY4dDQ2NrcNzA on Friday February 05, 2021 @12:51AM
(#26033541)
It would be the best possible learning language, if your next language was going to be assembly.
Re:Python’s tug of war between beginner-friendly and advance...
by franklyt on Friday February 05, 2021 @12:52AM
(#26033549)
Is that a crack about complexity? C doesn’t have very many features.
Re:Python’s tug of war between beginner-friendly and advance...
by aYsY4dDQ2NrcNzA on Friday February 05, 2021 @01:06AM
(#26033595)
I’m saying that the C machine model would be an ideal introduction to pointers and registers and bit manipulation, and you could compare a C program with its compiled disassembly. Later you could get into in-line assembly and even processor intrinsics.