Editing
Blog
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Once you make an edit, a temporary account will be created for you.
Learn more
.
Log in
or
create an account
to continue receiving notifications after this account expires, and to access other features.
Anti-spam check. Do
not
fill this in!
==== 2023-12-28 ==== [[File:Delyan-turbo-pascal-kniga_50.jpg|260px|Turbo Pascal Book]] A while back I was going through my childhood books and found a long forgotten treasure from 1993. This is a Bulgarian book called "[https://www.google.com/search?q=%D0%94%D0%B0%D0%BD%D0%B8%D0%B5%D0%BB%D0%B0+%D0%A7%D0%BE%D0%B1%D0%B0%D0%BD%D0%BE%D0%B2%D0%B0+Turbo+Pascal Turbo Pascal for Beginners]" by Daniela Chobanova. I cracked open that dusty old friend of mine and I was immediately filled with the memories and the excitement of learning about computers and how to program them for the first time. At the time I read this book (1993) I did not have a personal computer at home. My friends and I used to go to an after-school program where we learned [https://en.wikipedia.org/wiki/DOS DOS], [https://en.wikipedia.org/wiki/Norton_Commander Norton Commander], and [https://en.wikipedia.org/wiki/Turbo_Pascal Turbo Pascal]. We had access to half a dozen [https://en.wikipedia.org/wiki/Intel_80286 286DX computers] and took turns programming them. We all carried a [https://en.wikipedia.org/wiki/Floppy_disk 5.25-inch DD (double density) floppy disk] around. These provided storage capacity of 360 KB, which was more than adequate for the source code we wrote and the compiled binaries. But we had access to this lab only a couple of times a week and only during the school year. The rest of the time and during our long summer breaks I had no choice but to compose my Pascal programs with pen and paper. The start of a new week or school year gave me the exciting chance to compile the code I scribbled on paper ([https://delyan.org/blog/decomp.html delayed compilation]). That was a blast and a fulfilling experience! Nowadays I have a [https://delyan.org/blog/uses.html computer at home] and don't need to write Pascal on paper anymore. But I still think it is valuable and perhaps even entertaining to write code (or at least diagram problems) with pen and paper. I believe this is especially important for new programmers to master. <div style="content: ''; display:block; clear:both;"> </div> [[File:Delyan-Turbo-Pascal-71_50_50.png|260px|Turbo Pascal 7.1 Screenshot]] This week I wanted to get back into recreational retro programming. I started by downloading [https://www.freedos.org/ FreeDOS] and installing Turbo Pascal. It turns out you can run Turbo Pascal 7.1 in your [https://playminigames.net/game/turbo-pascal browser]. I can actually type and run source code like it is 1993! This is going to be so much fun! <div style="content: ''; display:block; clear:both;"> </div> [[File:Delyan-programming-with-pascal_resized.jpg|260px|Programming With Pascal Book]] I might even sink my teeth into another old Pascal text book I found and implement some of the algorithms in Turbo Pascal (again)! This is the Bulgarian translation of the 1991 book [https://catalog.libraries.psu.edu/catalog/1663335 Intermediate programming principles and techniques using Pascal] by Terry M. Smith. <div style="content: ''; display:block; clear:both;"> </div> [[File:Delyan-lazarus-ide_resized.jpg|260px|Programming With Pascal Book]] Now some folks believe Pascal to be outdated and a relic of the past. But once in a while we are [https://news.ycombinator.com/item?id=34160097 reminded] that there is a modern Pascal ecosystem and it is alive and well. Particularly lovely is [https://news.ycombinator.com/user?id=Peter5 Peter5]'s HN comment: <span class="highlight-blue" style="font-style: italic;"> "[FreePascal] is a full-featured and very fast compiler. The resulting program is a rival for the best output of C/CPP compilers. It can be used in the style of simpler languages like Go and is almost as safe as Rust in a much faster manner. It has a great but old-looking IDE, Lazarus. It has been under active development for decades..." </span> So it turns out that [https://www.freepascal.org/ Free Pascal] is a modern compiler for a language, which on the surface, appears quite old. There is an IDE called [https://www.lazarus-ide.org/ Lazarus] and it too is a blast. I found it meditative to roll back time 30 years and code in my first programming language. Writing in a "dead" computer language, much like speaking Latin, is perhaps the true definition of '''recreational programming'''. <div style="content: ''; display:block; clear:both;"> </div> [[File:Delyan-sbornik-informatika-s-pascal_resized.jpg|260px|Sbornik Informatika s Pascal]] I even found the excellent "[https://knizhen-pazar.net/products/books/1737682-sbornik-informatika-s-paskal Problems: Informatics with Pascal]" book by Pavel Azalov and Fani Zlatarova, which was the Bulgarian version of LeetCode in 1995. The problems in this book are fantastic! I look forward to publishing a few of these here! <div style="content: ''; display:block; clear:both;"> </div> <span id="links"></span>
Summary:
Please note that all contributions to Raychev Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Raychev Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
All pages
Recent changes
Random page
Article templates
Tools
What links here
Related changes
Special pages
Page information