|
|
|
|
|
by drtse4
5374 days ago
|
|
That's the way i did it fifteen or so years ago and it's the method i'll use if i had to teach an introductory course. Pros: - Using the trial&error approach to solve a problem is not efficient without a compiler, this forces you to think more carefully about the algorithm (and corner cases) instead of just typing out stuff until your algorithm "appears" to work. - You'll learn to debug/test on paper, a skill that everyone must have. Cons: - Harder to learn the proper syntax without something that automatically shows errors? I'm not sure that this is a real issue... |
|
That said, I have to agree that bench testing is an invaluable skill. I was able to impress a lot of my classmates by simply glancing at a program listing and pointing out the bug.