3 ms·
One of the paradoxically oddest and best ways I've seen programming taught was from a games programming class I took in high school. We were tasked with transcr
by chaps 5y ago
One of the paradoxically oddest and best ways I've seen programming taught was from a games programming class I took in high school. We were tasked with transcripting a game (custom engine) from a booklet with its code already written. So it was more-or-less just typing what was in the book. Thing was, the code was filled with typos and broken code so that if you copied it verbatim, it wouldn't work.
I'm not sure if that was intentional, but as you'd go through the book and correct typos, you'd kind of just... pick up how to code. It almost became a reflex to understand and correct the code whenever you saw any errors. Most of us in the class came out of that with basic coding skills and we didn't need to go the path of normal exercises you'd see in most programming classes.
- ducharmdev 5y agoThis sounds pretty similar to code koans, where you learn a language by making all the tests pass. The rustlings course for Rust works this way too - very effective IMO. Some examples: - F#: https://github.com/ChrisMarinos/FSharpKoans https://github.com/ChrisMarinos/FSharpKoans - Ruby: https://github.com/edgecase/ruby_koans https://github.com/edgecase/ruby_koans - Powershell: https://github.com/vexx32/PSKoans https://github.com/vexx32/PSKoans - Rust: https://github.com/rust-lang/rustlings https://github.com/rust-lang/rustlings