{"id":13313,"date":"2020-08-07T12:12:11","date_gmt":"2020-08-07T11:12:11","guid":{"rendered":"https:\/\/www.toomik.net\/helen\/blog\/?p=13313"},"modified":"2020-08-08T12:40:09","modified_gmt":"2020-08-08T11:40:09","slug":"memories_of_learning_to_program","status":"publish","type":"post","link":"https:\/\/www.toomik.net\/helen\/blog\/2020\/08\/07\/memories_of_learning_to_program\/","title":{"rendered":"Memories of learning to program"},"content":{"rendered":"<p>The first programming language that I learned was GW-BASIC, some time in the late 1980s. We had a laptop-ish Tandy computer at some point, but I&#8217;m not sure if it was the first one or if there was another one before it.<\/p>\n<p>Computers used 5 <sup>1<\/sup>\/<sub>4<\/sub> inch <a href=\"https:\/\/en.wikipedia.org\/wiki\/Floppy_disk\">floppy disks<\/a>.<\/p>\n<p>GW-BASIC had line numbers and GOTO statements, and came with a thick reference book that contained everything there was to know about the language. Line numbers were normally used in increments of 10, so that you could easily insert a missed line between existing lines of code &#8211; say, insert line 25 between lines 20 and 30 &#8211; without retyping everything that follows. The RENUM command renumbered all the lines back to tidy increments of 10.<\/p>\n<p>I remember making the computer draw circles and lines on the screen.<\/p>\n<hr \/>\n<p>Esimene programmeerimiskeel, mida ma \u00f5ppisin, oli GW-BASIC, kunagi 1980-ndate l\u00f5pus. Meil oli s\u00fclearvuti-laadne Tandy, aga ma ei m\u00e4leta, kas see oli esimene v\u00f5i oli enne seda ka m\u00f5ni muu arvuti.<\/p>\n<p>Arvutid kasutasid 5 <sup>1<\/sup>\/<sub>4<\/sub> tolliseid flopisid ehk diskette.<\/p>\n<p>GW-BASICus olid reanumbrid ja GOTO kommando. Sellega tuli kaasa paks manuaal, kus oli kogu keel \u00e4ra kirjeldatud. Reanumbrid suurenesid tavaliselt k\u00fcmnekaupa. Nii sai kergesti kahe olemasoleva rea vahele uue lisada &#8211; n\u00e4iteks lisada ridade 20 ja 30 vahele uus rida 25 &#8211; ilma et peaks k\u00f5iki j\u00e4rgnevaid ridu uuesti sisse toksima. RENUM kommando nummerdas k\u00f5ik read j\u00e4lle 10-stele sammudele.<\/p>\n<p>M\u00e4letan, kuidas panin arvuti ekraanile ringe ja jooni joonistama.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The first programming language that I learned was GW-BASIC, some time in the late 1980s. We had a laptop-ish Tandy computer at some point, but I&#8217;m not sure if it was the first one or if there was another one before it. Computers used 5 1\/4 inch floppy disks. GW-BASIC had line numbers and GOTO [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,776],"tags":[],"class_list":["post-13313","post","type-post","status-publish","format-standard","hentry","category-geeky_things","category-memories"],"_links":{"self":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/13313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/comments?post=13313"}],"version-history":[{"count":7,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/13313\/revisions"}],"predecessor-version":[{"id":13320,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/13313\/revisions\/13320"}],"wp:attachment":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/media?parent=13313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/categories?post=13313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/tags?post=13313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}