3 ms·
I started with reusing code, by copying BASIC out of books and magazines by hand, I'm sure many of us did, and I've definitely created new code a few times!
by ZoFreX 16y ago
I started with reusing code, by copying BASIC out of books and magazines by hand, I'm sure many of us did, and I've definitely created new code a few times!
- pbhjpbhj 16y agoYup, ditto (on an Acorn Electron for me). Slavish copying, then the inevitable debugging; then modifying others programs; then writing ones own things and referring to others code for syntax hints and such. I never really went as far as copying algorithms. At this early stage I never learnt code reuse in the sense of having libraries and such, that probably held me back quite a bit. But then any instruction at that stage would have helped I think.
- RodgerTheGreat 16y agoIt's worth considering that you had to type those BASIC programs yourself. Even if you didn't understand it, you had to look at every line. Compare that to Ctrl-A-Ctrl-C-Ctrl-V.
- teach 16y agoI'm a CS teacher, and at first, when I give code to students for them to type in / modify, I make it a screenshot just so they CAN'T copy and paste. It takes me quite a bit more time vs. just typing the code and putting up a link, but I really agree that having to type the code in is fairly important.