News for hackers. Stuff that matters.
Re:Apple launches coding camps for kids in its retail stores by rm_-rf_slash on Tuesday June 21, 2016 @01:14PM (#11947397)
I think the invention of the GUI killed the dream of mainstream programming.

If computers had to be interacted with in ways that resembled programming - like a UNIX prompt - then people would be more used to the way computers actually work, with functions and parameters instead of icons and settings menus.

I really hope that raspberry PI gets more mainstream appeal as time goes on. I fear the separation between coders and users is creating parallel worlds of echo-chamber wizards and ignorant commoners.

Re:Apple launches coding camps for kids in its retail stores by schoen on Tuesday June 21, 2016 @01:29PM (#11947531)
I believe as you do and in basically the same terms, but, having had forms of this discussion for much of my life, I've encountered a counterargument that I thought I'd bring up as a devil's advocate:

> the way computers actually work, with functions and parameters instead of icons and settings menus

Isn't "the way computers actually work" at a fundamental level about electrical engineering, or at least about machine instructions? If you're using Unix commands, hasn't a whole lot of work already been done to create the abstractions of pipes, file descriptors, files, filesystems, and so on? Is it clear that there is some sense in which these abstractions are faithful and true to the machine and technology, where other software abstractions are not?

Re:Apple launches coding camps for kids in its retail stores by schoen on Tuesday June 21, 2016 @03:47PM (#11948883)
I got a ton of upvotes on this, but nobody has replied to it! I wonder how many people who upvoted me noticed that I claimed to be expressing an argument against my own opinion. :-)
Re:Apple launches coding camps for kids in its retail stores by exolymph on Tuesday June 21, 2016 @08:58PM (#11950844)
I noticed, but I'm sort of mystified about why you wouldn't agree with that opinion. Clearly the command line is an order of magnitude more abstract than practical electrical engineering.

We need different people to understand different layers, and as long as there are enough people paying attention to each layer, there's no problem.

Re:Apple launches coding camps for kids in its retail stores by jbermudes on Wednesday June 22, 2016 @12:51AM (#11951632)
> Isn't "the way computers actually work" at a fundamental level about electrical engineering, or at least about machine instructions?

I agree, which is why sometimes I think perhaps a toy assembly language might be a neat experiment from a pedagogical point of view.

Re:Apple launches coding camps for kids in its retail stores by sxg on Tuesday June 21, 2016 @01:29PM (#11947536)
Without a GUI, mainstream computing probably wouldn't even exist let alone mainstream programming.
Re:Apple launches coding camps for kids in its retail stores by jshevek on Tuesday June 21, 2016 @02:27PM (#11948121)
> Without a GUI, mainstream computing probably wouldn't even exist let alone mainstream programming.

As a child growing up, learning to function in society by speaking, reading, writing, and generally understanding English was a much harder task for me than learning to program in BASIC. BASIC is simple, predictable, logical and downright easy compared to English.

We take learning to read and write for granted, but its a messy, difficult, and often illogical affair. We have such high literacy rates because we start kids on it so young, and because its everywhere.

Its easy to imagine a version of our world in which children learn to interact with computers without GUIs, if CLIs were the norm. Children would learn them faster than adults.

Consider those children for whom learning a CLI was prerequisite to playing video games. All of those kids who I knew quickly memorized the requisite commands.

Re:Apple launches coding camps for kids in its retail stores by Razengan on Tuesday June 21, 2016 @03:38PM (#11948792)
> Consider those children for whom learning a CLI was prerequisite to playing video games. All of those kids who I knew quickly memorized the requisite commands.

Ah yes, I still figuratively remember all the commands for loading Sinclair Spectrum and Commodore 64 games, and their "FastLoad" variants, typing in those PEEKs and POKEs from magazines for cheating/hacking, then the fiddling with AUTOEXEC.BAT and CONFIG.SYS while trying to juggle HIMEM and EMM386 and whatnot to be able to play DOS games..

It definitely piqued my interest in the workings of computers, spurred on by the generally more technically-inclined (not to mention humorous! oh how I miss CRASH and ZZAP!) magazines of the time, and it did get me into programming.

BUT, all that CLI voodoo was just a routine ritual to my other friends, in the way of what they really wanted (games.) They just had all the commands written down, and would rather ask someone than consult a manual when something needed to be done differently. They already had other interests. It didn't make all of them programmers.

So as with everything else, you can't really make a general statement that "X will make children do Y." People who are inclined towards doing something, will do that thing, on their own. I think what we (the adults) should focus on, is making things easier for them after the fact, after they've decided to get into programming.

Let's start with why the major operating systems of today require separate downloads and online research to get started with programming. macOS comes with that Grapher app, Windows comes with Paint, why can't they come with a nice coding app and some tutorials? So kids can just start poking away on their $500+ tablets and computers out of the box, like we used to on the C64, 20 years ago?

Re:Apple launches coding camps for kids in its retail stores by Matt3o12_ on Tuesday June 21, 2016 @02:47PM (#11948301)
> Its easy to imagine a version of our world in which children learn to interact with computers without GUIs, if CLIs were the norm. Children would learn them faster than adults.

Do you want those children to hate CLIs because they are boring and they have to learn it just like all other boring stuff such learning how to read and write? If we offer children a way to enjoy what they are doing (i.e. make it fun to use/learn it), they will look forward to learning how to program. And making a task harder while it could be easier is not the answer (and children are not stupid, they would realize that a GUI would also be possible these days).

Furthermore, CLIs are hard to use in many environments. Would you want your waitress type "start paying; add product NAME [QUNANTIY]" instead of just touching the symbol a few times? There are many advantages with CLIs, especially when doing "traditional computing tasks" but in the real world, which is becoming much more digital, CLIs are not useable and a touchscreen with buttons is quicker. So why should the general public know how to use them – there are outside of our "edge cases" not really useful.

Re:Apple launches coding camps for kids in its retail stores by jshevek on Tuesday June 21, 2016 @03:02PM (#11948444)
I'm responding to the claim that GUIs were probably necessary for coding to become commonplace. They were absolutely not necessary, though they certainly accelerated it.

In this context, most of your post seems unrelated to mine.

Re:Apple launches coding camps for kids in its retail stores by sxg on Tuesday June 21, 2016 @03:15PM (#11948579)
My argument is that without GUIs, computers would have either never become common or would gain adoption at a substantially slower pace than they have with the general public. With no/slowed adoption of computers, it's not possible for programming to become more common than it is today.
Re:Apple launches coding camps for kids in its retail stores by jshevek on Tuesday June 21, 2016 @03:46PM (#11948871)
We are likely to use words like "common" and "substantially slower" somewhat differently, given the subjectivity of the terms. However:

> With no/slowed adoption of computers, it's not possible for programming to become more common than it is today.

"Not possible"? That's false on the face of it. You appear to be making unwarranted assumptions about what is possible in the relationship between (a) the amount of 'computing' in today's world and (b) the number of people who program.

The only non-cultural factor which really limits the possibility of coding is the availability of machines on which to program. I believe there were only around 20 million devs worldwide at the beginning of 2014. More PCs were shipped in the mid 80s in the US alone.

It is absolutely possible that a world in which the GUI was never invented could have more coders coding than a world in which the GUI had been invented. And the reverse is also true, of course.

Re:Apple launches coding camps for kids in its retail stores by rhinoceraptor on Tuesday June 21, 2016 @02:10PM (#11947971)
This seems like a really elitist attitude. I like windows and buttons and menus. I also really like the command line, my development environment is a fullscreen terminal window.

Programming nowadays is easier than ever to get into. All you need is a computer, an internet connection, and the drive to learn.

If you bought a car in the early 20th century, you had to know how to work on it. Now, that's not that case.

Re:Apple launches coding camps for kids in its retail stores by redial on Tuesday June 21, 2016 @01:43PM (#11947696)
> I fear the separation between coders and users is creating parallel worlds of echo-chamber wizards and ignorant commoners.

Isn't that how a society works? The vast number of diverse human activities are only possible because of the echo-camber, of people who specialise in one area while remaining ignorant in almost all the others.

Also computing, and programming, is much much more than a unix prompt.

Re:Apple launches coding camps for kids in its retail stores by pjmlp on Wednesday June 22, 2016 @02:57AM (#11952038)
Not everyone likes the UNIX prompt.

Some of us rather enjoy the way Xerox PARC envision the future of computing.

On that vision IDEs and REPLs like the Swift Playground are the way it should be, no need for a UNIX prompt.

Re:Apple launches coding camps for kids in its retail stores by NEDM64 on Tuesday June 21, 2016 @08:19PM (#11950610)
Why do people think that having programming skills is something that people of the future need? It's useless for most of people, and for many people who know how to program, is also useless for them too, as most if not all their needs are already fulfilled by someone else.

I think it's more important for the younger generation to learn about other things, some of them I do not know.

Things like agriculture, law, music theory, etc. are much more important than programming.

Re:Apple launches coding camps for kids in its retail stores by danso on Wednesday June 22, 2016 @07:36AM (#11953008)
That's a pretty limited way of thinking about programming, which is basically the capability to translate intent to an autonomous, tireless machine.
Re:Apple launches coding camps for kids in its retail stores by kalleboo on Wednesday June 22, 2016 @01:52AM (#11951828)
I don't think the GUI has anything to do with it.

> If computers had to be interacted with in ways that resembled programming - like a UNIX prompt

Maybe programming should start resembling GUIs more, instead of the GUI resembling programming more?

The only reason I got into programming was by messing around with HyperCard as a kid. HyperCard had an excellent learning curve. You could just use the pre-built stacks (stuff like an address book). Then you could start editing the controls (adding a field to the address book), then start using the prefab button generator or copying pre-coded buttons from sample stacks (say, to add a button to go to your own card in the address book). Then start hacking away at the scripts in the buttons (scripts that resembled english better than any language I've seen since). And this thing came with every Mac.

Today, you have to decide "I want to learn to program", look up resources, maybe do a tutorial. The only thing we have today that's close to "tricking" people into programming without them deciding to start programming is Excel spreadsheets. That's probably the #1 programming environment today.

Re:Apple launches coding camps for kids in its retail stores by logiclion on Tuesday June 21, 2016 @01:31PM (#11947558)
Could you elaborate on why the GUI killed the possibility of mainstream programming? I'm not exactly sure if the concept of what programming is (in an abstract sense) should be bound to the idea of a CLI.

In my opinion the use of a GUI vs CLI is more of a preference and doesn't explicitly assume the user is ignorant.

Re:Apple launches coding camps for kids in its retail stores by throwanem on Tuesday June 21, 2016 @01:58PM (#11947859)
> If computers had to be interacted with in ways that resembled programming - like a UNIX prompt - then people would be more used to the way computers actually work, with functions and parameters instead of icons and settings menus.

Yes. That's exactly how it would be, for whatever small fraction of current computer users were able and willing to adapt to that paradigm.

You're absolutely right about the separation between people who understand how computers work and people who only use them. Your second sentence in this comment is a brilliant example of the "echo-chamber wizard" school.

Re:Apple launches coding camps for kids in its retail stores by foobarrio on Tuesday June 21, 2016 @03:17PM (#11948598)
GUIs allow things to be done by people who otherwise would not be interacting with a computer. They are huge enablers! This is true of the arts with computer graphics, music software. Granted really advanced users of computer graphics packages often end up doing some kind of programming via Python scripting or even Action Script back in the days of Flash. However there are plenty of people that are pure artists and just digitally paint of sculpt.
Re:Apple launches coding camps for kids in its retail stores by rimantas on Tuesday June 21, 2016 @05:45PM (#11949677)
What kind of weird dream is that? Do people also have dreams about mainstream odontology or mainstream plumbing? WTF is wrong with the programmes that they want to turn entire population into lookalikies?