3 ms·
I'm TAing an introductory programming class, and the reason we lose people is because programming can be hard for people to wrap their minds around. Loops are e
by sketerpot 17y ago
I'm TAing an introductory programming class, and the reason we lose people is because programming can be hard for people to wrap their minds around. Loops are easy for you and me, but for a bewildered freshman who's never seen them before, translating a simple problem into actual looping code can seem like an insurmountable brick wall. Ever seen someone write "for" and then stare blankly at the screen for the next half hour? It's painful to watch.
(I just got back from helping a bunch of freshmen try to test a number for primality. It was brutal. And we're using a language without all that "public static void main" stuff, so that's not even an issue.)
- Pistos2 17y agoWhat language is that?
- sketerpot 17y agoWe're using Matlab. I'm teaching electrical engineering students, so they're going to have to know Matlab soon anyway. It's got fairly straightforward syntax, very nice vectorized array operations, and a read-eval-print loop so you don't have to waste time compiling. It's not as pretty and pleasant as Python, but the difference isn't significant at that level.