3 ms·
The first language that I learned was a "teaching" language: BASIC. That was in ~ 1981. A potential advantage at the time was that BASIC tended to be a complete
by analog31 10y ago
The first language that I learned was a "teaching" language: BASIC. That was in ~ 1981. A potential advantage at the time was that BASIC tended to be a completely self contained environment, meaning that you didn't have to assemble things like build tools and libraries. "Hello world" was one line of code, you entered it, and it ran. And at that time, just dealing with the tools -- typically on a mainframe -- was the first couple weeks of the typical introductory programming course.
This is not entirely unusual, even today. I was curious about one of the toolchains for phone app development. For one particular tool, the tutorial for "Hello World" was many pages of instructions: Installing the tools, creating an empty application, setting its characteristics, adding code, building, etc. Even as an experienced programmer, I found it to be rather forbidding.
Another possible reason for a teaching language might be to excite the interests of particular age or social groups. For instance, Logo was oriented towards making interesting graphics. Scratch eliminates the need to learn syntax, and has easy-to-program graphical output.
On the other hand, some languages come pretty darn close to that old BASIC in terms of the ease of getting started, and one of those languages is Python. It seems to me that the sheer size of Python shouldn't be a deterrent to using it for teaching: Just ignore the advanced features at first.
- petre 10y agoBaisc is pretty cool. Very easy to learn and quite low level. It was the OS of older computers like the ZX Spectrum and then some later era handled calculators were programable in Basic. I used it later to write code for AVR microcontrolers. You can also program current Maximite computers or Duinomite clones using Basic. Lua and Python are comparable modern alternatives.
- skrishnamurthi 10y ago"Ignore" is easier said than done. Students make mistakes. They type the wrong character. They put something in thew wrong place. If you don't enforce your sub-language, you are effectively throwing them into the open, and they suffer. We've seen numerous examples of this, which is why DrRacket offers teaching languages that are subsets of the full language, with customized errors that match the student's vocabulary and level of understanding, etc.
- pault 10y agoI first started getting into programming using flash and actionscript. I think having a self-contained environment is incredibly important for beginners. When I started trying to learn rails a few years later I got completely hung up on getting a dev environment up and running since I was new to unix-like environments, and I didn't come back to it for several more years. I can't imagine trying to get into front-end development as it is today with all its constantly shifting dependencies while also trying to learn how to code and how to stand up a server.