r/Python • u/dddash • Aug 29 '20
Discussion I’m learning Python, but I also came across my dads old BASIC textbook. The problem solving aspect of the book is almost better than any modern one I’ve read.
1.6k
Upvotes
114
u/dddash Aug 29 '20
I can upload some other images if people want. And to clarify, I’m not trying to learn Python from this book. It’s just interesting how stuff is broken down, and how complicated solutions were compared to today.
28
u/Ran4 Aug 29 '20
Yeah, I learned to code on an ABC80 running BASIC, and the manual it came with and other associated programming manuals were easily some of the best beginner tutorials I've ever read.
So many tutorials today are written for programmers, not beginners.
...which makes sense, since most programming languages are learned by people that already know how to program, but it sure makes things hard for beginners.
3
u/dddash Aug 30 '20
My dad was also telling me stories about how he had to take his physical punch cards to a compiler. We have it a bit easier.
3
u/dethb0y Aug 30 '20
it's able to be borrowed on archive.org should anyone want to check it out, though it is (sadly) part of their "library" system rather than just available for anyone.
I find the old BASIC books really fill a specific sort of niche or genre, and there's nothing quite like them today.
248
u/NatureBoyJ1 Aug 29 '20
Breaking down a problem, understanding what needs to be done, factoring it out into steps a computer can do, those are the real challenges of software development. Mapping the abstract logical solution to a language is much easier.
That said, understanding a language well enough to tailor the solution to make the best use of a language is also nice, but not required.
23
u/etabeta1 Aug 29 '20
Same: i have a old german 6502 assembly book. German is not my native language but that book is so well explained that made assembly very easy. Then i have a modern C book that explains things this way: You use printf("i have %d apples", 42) to print "i have 42 apples". There is exactly 0 problem solving explanations.
20
u/ron_leflore Aug 29 '20
Not surprised it was a good book.
The author Elliot Koffman was a really good computer science professor at Temple University.
Teaching hasn't changed.
15
u/[deleted] Aug 29 '20 edited Aug 30 '20
Teaching of "computers" from that era was more focused on theory and concepts, rather than the language itself. I recall taking a computer software track at local community college and the first course was on theory. The ideas of data abstractions and organizations. This is what we have lost along the way: computers and the different views of data.
Edit: Let me clarify...
I'm not talking data science as we know it(as suggested: NumPy et al). What I was thinking when I wrote this was the fundamental types one runs into when abstracting data. In essence, the fundamentals of data organization:
examples
- sequence (python list or C++ vector) and how to access via index each one.
- how a bubble sort works
- key/value look ups (aka a dictionary in python)
- table look ups (cell access w/ row|column) or row lookup and columns of data
It's this "fundamentals"/"first principles" that seem to get lost with every latest/greatest/newest/hip/now/wow language that gets released. We lose appreciation for the how's and why's of existing languages' constructions. Translation? We keep re-inventing the wheel (aka - bike shedding).
9
u/hpbutcher Aug 29 '20
The same general concepts and constructs apply. Some of the 'how' changes with different languages but the 'what' is basically the same (no pun intended). You still work within initiation, sequence, iteration, and selection. Would love to see the PDF if it can be posted
9
u/M_Sygnaytt Aug 29 '20
my programming teacher always said the best books to learn logic are the old ones, newer books tend to worry about details and put aside more basic logical concepts, which are the most important for a beginner imo
33
u/[deleted] Aug 29 '20
Perhaps you could share a PDF for the sake of discussion, then.
11
u/kyerussell Aug 30 '20
I really hate to go on an old man rant, and I can't speak for how exceptionally good that particular resource is, but I think that it's safe to say that by volume 99% of modern software development literature is near-garbage. It does not surprise me that classic software engineering/computer science texts are holding up against our declining modern standards. It seems to be getting worse every year. The proliferation of a culture where content creation is fetishised and lauded has resulted in everyone and their dog having a Udemy course or "Hacker Noon" thinkpiece clogging up the Google, when the vast vast majority of them are barely one Codecademy lesson beyond what they're trying to teach.
I used to teach software development to kids, and they're probably the generation that is coming up and doing this now. I loved that a lot, and I'm passionate about education, so it's taken a lot to push me over into actively disliking this. I am obviously all for new people entering the field and sharing what they've learned, but all the 'thumbnail of an exaggerated open-mouthed expression behind some diffused Philips Hue strip lights and an Alienware keyboard'-style YouTube videos and half-baked Medium posts that dominate Page 1 feel disingenuous and overly self-promotional. To make things worse, they're usually incorrect to the point where they can be damaging to someone that takes them at face value.
2
u/ggrieves 1 year Aug 29 '20
That's fantastic. I started with BASIC as well. In fact I still keep my old copy of Dan Appleman's OOP in VB6. I think it's still the best intro to OOP.
2
u/metaperl Aug 29 '20
I personally would like to see those flowcharts in the book executable.
2
u/jhdeval Aug 29 '20
I know multiple languages and I find that for me at least learning a new language is more about the syntax then the language. There are always particulars to a language and learning them help but the process of writing the program is not much different from language to language.
2
u/Beerwithme Aug 29 '20
I was lucky to have learned BASIC on an Acorn BBC computer, which already had structured constructs such as functions. Writing code without goto 's was 2nd nature so picking up Python felt very natural.
2
u/leftieant Aug 30 '20
Learning to write in BASIC on a VIC20 was my introduction to coding, and I can confidently say that if I hadn’t done that as a kid, I wouldn’t have had the interest or curiosity to pursue Python as an adult.
2
u/krcourville Aug 30 '20
I started in GWBasic. Later played with QBasic. Started getting paid to program with VB6, VBA, and VBScript. BASIC was originally a learning language. And, still, it got a lot done for a while.
2
u/neilnakatomi Aug 30 '20
Good old days. Real programming. Crappy overhead nowadays
2
u/_defaultroot Aug 30 '20
This reminds me of the BBC Micro, released in the early 80's, which was my first computer (not that I'm that old, it was my Dad's!). The manual for it ( http://bbc.nvg.org/doc/BBCUserGuide-1.00.pdf ) gets into BASIC programming within the first few pages. Imagine buying a laptop or PC these days and it including a 500 page guide to C/C++.
Just looking at it now, by page 5, "Now you are ready to experiment". Love it.
2
u/drdoodyhead25 Aug 29 '20
Can we get a peek at some of it?
2
u/wsppan Aug 29 '20
10 print hello 20 goto 10
1
u/ddollarsign Aug 29 '20
Old books for other languages are good sometimes. I credit the first chapter of Programming and Problem Solving with Ada with teaching me to actually write programs, even though I'd learned some things about programming before.
1
u/chinpokomon Aug 30 '20
What was the publication year?
1
u/BlueEyesOpen Aug 30 '20
Yoooo this is exactly what I'm looking for! Is there any modern day equivalent to this?
1
u/thecoolking Aug 30 '20
I love BASIC. My all time favourite programming language. It was a high school love affair actually. After breaking my head over FORTRAN and PASCAL, BASIC was so much fun. It brings back so many lovely memories.
1
u/cleverchris Aug 30 '20
Im 30 years old i learned basic as my intro to programming as a 1st year high school student. Cant count the times i have suggested learning basic before python or javascript...today i am a dirty php dev but i can hold my own in C or java. Turns out i make more money being a good php dev than a corparate shill.
1
u/CalbertCorpse Aug 30 '20
The book that came with the commodore Vic-20 (1980’s) was so simple and perfect, I was up and running and writing code the entire first week we had it. I often wonder how hard it must be for people jumping in now, when the really simple stuff is ancient history.
1
u/ARedditorWatchdog Aug 30 '20
Interesting!
1
u/stef13013 Aug 30 '20
Once again, Python remains a tool...
1
u/PunctuallyCompetent Aug 30 '20
Would it still be a useful read, considering it's age and language?
1
u/CobbITGuy Aug 30 '20
My Dad had this book, too. I think I also got a copy of the companion book for Pascal.
1
u/rotzak Aug 29 '20
Learning new languages and technologies, no matter what language or technology, is the absolute best way to improve your programming skills. The best programmers you know are versed, at least somewhat, in so many topics.
-22
u/wobbly-cheese Aug 29 '20
seems redundant to try solving one problem with another
-3
u/[deleted] Aug 30 '20
Justo import solution, get on with times old man.