5 ms·
Nowadays, it is easier than ever to learn programming. There are all these wonderful tools like Scratch. It might be easier to learn, but it's harder than ever
by userbinator 4y ago
Nowadays, it is easier than ever to learn programming. There are all these wonderful tools like Scratch.
It might be easier to learn, but it's harder than ever to actually do something useful with those "toy" environments. Back then, the "mainstream" computer magazines were full of source code listings, often even in Asm, for utilities that did various useful things. They created binaries in the <1k size range, with a lot of them being below 100 bytes. There was a continuum from "computer illiterate" to "master developer", with "average user" and "power user" sitting somewhere between. Now you have to fight your way through layers of "security" to even start to do something useful, and on some platforms, it's nearly impossible.
IMHO corporate interests are to blame for this gradual closing-off, because they don't want users to discover that some things they profit from are in fact extremely easy to do. There's been a bunch of articles here and elsewhere about the "war on general-purpose computing" which really started being noticeable in the late 2000s/early 2010s.
- WalterBright 4y ago> because they don't want users to discover that some things they profit from are in fact extremely easy to do I have to laugh at these conspiracy theories. The real reason is the operating systems no longer come with a BASIC prompt. This is true for Windows, OSX, and that corporate Linux product. If every operating system, including phones, came with an icon that opened to a BASIC prompt, I bet you'd see an explosion of programming competence especially among young people.
- ChadNauseam 4y agoOn windows and macos you can write “python” in the terminal and get a python prompt with no extra steps. (well, on windows you get a windows store pop-up to install python, but same diff.) I’ve never used BASIC, but is it really so much more approachable/productive than python? With python’s batteries included philosophy, I’d expect it to be pretty quick for beginners. The only sticking point I can think of is GUIs
- WalterBright 4y agoBASIC is absurdly easy to write programs in, lowering the entry friction as far as possible. > 10 print "Bow before the Mighty Walter, scum!" > 20 goto 10 > run
- klodolph 4y agoI don't think there's much friction to Python either. $ python >>> while True: ... print("Help, I'm trapped in a loop!") There's a little bit more punctuation (>>> and ... don't count) but you don't have to fuss with line numbers. These days, when someone I know is interested in learning some computer programming, I tell them to get a copy of Introduction to Computer Science Using Python by Dierbach. My own intro programming books are horribly outdated at this point, but I happen to have a copy of Dierbach's book, and I think it is pretty nice. You start up by firing up the Python REPL on your computer, and from there it talks about how computers work. IMO, this is an easier way to start computer programming than we ever had with BASIC. The barrier to entry is as low as it ever was, the languages are a lot nicer and you can definitely get real work done with Python, and over the years we've gotten more textbooks & better textbooks. Honestly, the real friction here is that you have to open up a terminal window and type "python". Or if you are interested in JavaScript, you have to press Ctrl+Shift+I or some other combo to bring up a REPL in whatever browser window is already open. It's not friction, it's just a little obfuscation--give someone a computer and they probably won't discover Python or JavaScript just by playing around with it, but if you give someone an Apple II, they're going to run head-first into BASIC.
- WalterBright 4y agoC:\scan>python 'python' is not recognized as an internal or external command, operable program or batch file. C:\scan> which is my point. (BASIC is also a far, far easier to learn language than Python.)
- Kim_Bruning 4y agoGrabbing a random old Long-Term-Support machine: kimsbox:~ $ python3 Python 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516] on linux Type "help", "copyright", "credits" or "license" for more information. >>> (This works on 2 out of 3 most common operating system families. Just don't use the bad one :-P ). I learned BBC BASIC first and it still holds special place in my heart. A lot of the feel of Python is similar (it also has similar goals), but it is quite a bit younger and has a lot more 'batteries included'. So I have to say I do actually prefer python for my day-to-day usage now.
- grumpyprole 4y ago> I have to laugh at these conspiracy theories. Well, there are certainly a lot of closed platforms. But arguably it started a long time ago with games consoles.
- klodolph 4y agoI've heard this argument before and I disagree with it. - The old "toy" environments like BASIC, back then, were not very powerful. - The kind of thing that you would get from a 1k binary is something that nowadays you get for free with the OS. The bar for "useful" is much higher. - There are still tons of people in the range between "computer illiterate" and "master programmer" who are doing interesting things by writing code. It's not a jump from, say, Scratch to JavaScript. You have Excel, R, Julia, Matlab, SQL, etc. There have been tons of other environments over the years like FileMaker, MS Access, Flash, Director, etc. Some of these are still around, others have evolved and been replaced. It's also relatively easy to make a basic website with Django or Rails, or write a plugin for Drupal or Wordpress, because you have some need. It's easy to respond and say something like, "Flash is dead." Yes, there's no direct replacement for Flash, but in general, new tools are appearing at a much faster rate than old tools are disappearing. Even though there's no direct replacement for Flash, there are a bunch of approximate replacements that may serve your needs. > Now you have to fight your way through layers of "security" to even start to do something useful, and on some platforms, it's nearly impossible. I would love to see a walkthrough where you go headfirst into one of these layers of security that's causing you problems. My guess is that you are working with a preconception that a "useful" something-or-other is an executable script or program. My claim is that something useful might be a Jupyter notebook, a Wordpress plugin, or a SQL query. I'll also say this--I've met plenty of high school students who seem to be just fine making games using something like Unity, Godot, RPG Maker, Game Maker Studio, etc. As far as I can tell, the #1 hardest part of this whole process is connecting people with the right tools and resources. The problem is not that those tools and resources don't exist or have gotten worse. They've gotten a lot better! They just don't ship with your computer any more, so there's a process of discovery, which has a big impact.
- magic_hamster 4y agoThe "blame" is not corporate interest in hiding simple logic, but instead the increased accessibility of computers to unintiated users. Computing for the masses needs to be easy to use, batteries included, out of the box solution - it's not a hobby, it's a product.
- scratchateer 4y ago> It might be easier to learn, but it's harder than ever to actually do something useful with those "toy" environments. It's hard to define 'useful,' but I'd argue that you can make useful things in Scratch. My first language was Scratch, which I learned 14 or so years ago. Although I only stuck with it for a couple years before moving onto Python (then Scheme, then C, then OCaml), Scratch was very formative in my development as a programmer, and there are a ton of 'useful' things you can do within Scratch itself. I grew out of Scratch after writing a 3d rendering engine for a platformer, and a neural network that played a racing game (NEAT). Both of things are fun, and I'd argue to some extent, useful, if not only to others who are learning. It was at this point that I was recommended a book on Python and, well, the rest is history. I realize that, for some tasks, like systems programming, Scratch would be absolutely counterproductive. (though I recently recall seeing a post about writing a Linux kernel module using the language.) Nevertheless, that doesn't mean that you can't do useful things using the language. Having later developed games in C from scratch (ha!), just trying to replicate a fairly basic Scratch program with sounds and sprites and movement requires a good working knowledge of how to type, C and its compiler, SDL and related libraries, memory management, maybe how to embed Lua for scripting, etc. None of these things are hard, per se, and I do agree that you have to jump through a number of layers of "security" to do modern development work on most platforms, but one has to admit that the environment that Scratch provides is powerful enough to create useful things, that require a non-trivial amount of work to replicate elsewhere.