>children that used Commodores or TRS-80s or DOS knew a lot more about how their computers worked, on average, than those of the same age that use Windows or MacOS
He said they know more about how their computer works, not that they have more useful knowledge. Would you disagree?
-file permissions, users, and processes on Linux
-environmental variables
-package management
-common Linux packages such as X, top, and probably others
-piping/IO redirection
-what a daemon is
-possibly how to use a "real" editor such as emacs or vim
-possibly some shell scripting
More importantly, this kids will never be afraid on the command line (which I believe most people are, including younger programmers just learning how to interact with shells).
Many of the topics above show up in a computer organization class in a university. Computers are built on top of many abstractions, and the command line is at least one layer lower of an abstraction than a GUI.
Available from most GUI file browser.
> -environmental variables
Available on GUI.
> -package management
Synaptic, or some package management GUI.
> -what a daemon is
There's GUI for Service management.
> -possibly how to use a "real" editor such as emacs or vim
I didn't Emacs and Vim does not have GUI version.
> More importantly, this kids will never be afraid on the command line
That's only important if you value being able to use command line, it's circular reasoning.
Vim is my IDE. I develop entirely and totally on the command line, devoid of any GUI management or development tools.
But this is just silly.
>I didn't (know) Emacs and Vim does not have GUI version.
Despite have GUI versions, the likelihood that most kids would use them is roughly 0. If you give kids a GUI, they'll learn how to use Microsoft Office/OpenOffice and maybe notepad/gedit. If you give them a command line, they'll probably learn nano -> emacs/vim and then use LaTeX when they need to make something they'd typically use an office suite for.
I find this thought process truly baffling.
The natural progression of forcing people to use the command line is to turn them off using computers.
Now, the author is presumably a tech geek and the kids probably have some genetic predisposition to doing the kinds of things dad does, so I don't care to predict the outcome. Similarly, the dad may be a great and inspiring tutor. But my view is you wait and see what kids are naturally interested in and try to widen and deepen the paths they pick of their own accord.
It's quite possible that knowledge of vim and emacs and package management won't be the world's most valuable skills in ten years. Whaddya think?
> the command line is at least one layer lower of an abstraction than a GUI
Only if that's the way the system is architected. Maybe thinking that way is actually a handicap.
The way I look at a GUI is that it is built entirely on terminal functions. I see you disagree, but I don't know how a GUI could be created without being built on something at a lower level. Something has to cause it to work, somewhere between bits and hardware, and the screen. Double click to open file? Same as `open file`. Find and replace in a text editor? Same as sed or `s//`.
A GUI can make it easier to do those things, but not always. For example I find using git in a GUI to be a worse experience than it's command line counterpart. I'm more at home with `git diff` than whatever built in attempt at improvement is available. I'd rather edit and resolve conflicts in vim than a visual editor (even XCode which is a pretty nice diff tool).
In short I just don't see myself ever moving off of terminal, and I would never see knowledge of it as a handicap. On the contrary, I'm always looking to learn how to do something new and powerful in it.
Which simply makes my point that being CLI-centric has limited your imagination. In fact the original Mac had a UI built directly on top of the system libraries. On startup it displayed an icon and played a chime (which was its hardware self-test result). Insofar as there was a "CLI" it ran UNDER the GUI. (There is something lower level going on that the GUI, but it's not a terminal.)
Even on a primitive command line machine, there's stuff going on below the level of the command line. In Linux you're running a shell, which is actually not part of the kernel. The fact that the kernel can spew text onto the screen during startup is merely an artifact of what's easy to do using the computer's BIOS or equivalent thereof.
Replace your hyperbole of "world's most valuable skills" with just "valuable skills", and I think knowing how to use a text editor and a package manager will still be valuable skills in 10 years. The last 20 years of inertia serve as evidence for me.
> Only if that's the way the system is architected. Maybe thinking that way is actually a handicap.
That is the way all (afaik) computer systems are currently architected. Having a correct model of the world isn't a handicap.
Hyperbole aside, I'm happy to remove "most" and let my sarcasm stand.
Using a command line encourages a person to explore what they can tell the computer to do, rather than accept what a GUI allows them to do. It encourages learning that you can put a list of regularly used commands in a "script" and then re-run them. And then exploring what else can be done with a script.
When you're used to typing instructions and telling the computer what to do, the idea of writing a computer program is a natural progression.
In the end the kid just wanted to play with tuxpaint.
Now, there's certainly potential. The author could (and maybe has) explain how X works or what exactly it means to install a package. Or maybe his kids will learn something from the details that command line programs show but GUIs often hide. There are definitely learning opportunities present in a shell that a GUI lacks. (The reverse is also true.) But from the article, he hasn't done any of that.
Reading this article makes me think the author has a lot more planned, but what he's done so far, while fun, probably hasn't made his kids any more knowledgeable. That's OK: His sons are 2 and 5 and have plenty of time to learn more, if that's their interest. But Hacker News shouldn't pretend that the author has demonstrated the superiority of starting with the command line.
Follow-up article: I raised my kids flipping switches on a front panel and they love it!
I don't feel that a CLI gives me more information about how a computer works than a GUI does. A GUI interface gives me a lot of clues as to how to do things I didn't know about before. A CLI requires that knowledge prior to doing anything.
Give me an unfamiliar GUI and there are cues. I can click on things, right click on things, hover over things, touch things, whatever. I can explore with a GUI. I can even learn, or at least get the queues to learn.
Give me an unfamiliar CLI and I'm kind of stuck. I can type. What can I type? Maybe I have some experience and I try help. Maybe from that I get a list of commands with no context. Where do I go from there? Linux "help" doesn't even describe "man".
I understand IPv4 well. I can configure a network interface or wifi on any typical GUI I come across. If I want to do it in linux, I don't even know where to start. In windows, understanding IPv4 and stumbling around the control panels, network settings etc will allow me to configure my adapter. On my phone, going to settings, wifi, tapping the little arrow beside my connection will let me manually assign an IP address.
In Linux, if I want to do that, I need to look up a reference to learn how to use ifconfig. There are no queues to guide me, and the language is specific to that environment. I don't learn anything about TCP/IP through this process, I only learn about linux.
On the other hand, in a GUI, it gives me more information than I ask for. Going into my network connection properties in windows shows me all the clients, services, protocols that are enabled for the connection, it gives me a shortcut to change the particular settings of the NIC driver. Delving into the IPv4 settings it tells me that DHCP is enabled, it lets me change the DNS suffix search list, assign additional gateways, etc.
The GUI is a teaching tool as much as it is an interface. What it teaches isn't necessarily comprehensive, but it does teach.
The CLI on the other hand is much more limited in how it can provide feedback to the user. It can try to, but it's got more limitations; text-only, no diagrams, few abstractions.
For a child in a structured learning environment, a CLI might be better. It rewards discovery, it limits the interactions, it provides fewer distractions. But without external teaching materials, I think if you give a child a computer with linux and no window manager on it, and you give a child a computer with Windows or Mac OS on it, your child would learn a lot more about the computer from the latter options.
The command line kids will adapt more easily than the GUI kids. The GUI kids will probably end up as tavern wenches in the Orion sector, or working in the beryllium mines.
Don't let your daughter end up in the beryllium mines. Teach her the command line.
2) You may input commands via speech, but are you pretending that there will be no GUI's in the future? That's absurd. Of course we'll have HUD a la Glass or other visual interfaces everywhere, as we do now. We're visual beings and always will be.
Do I worry that I make bad choices in raising them? Every. Damn. Day.
But having grown up in the Apple II era, seen kids raised with DOS and C64 who learned absolutely nothing about computers beyond how to launch a game using instructions on the floppy disk label, and having dealt my entire career with command-line-zealots who claim productivity godlikeness while taking 35 magic key strokes to do something any fool can do with two mouse clicks, I'm happy enough with this specific choice.
(I don't disagree that exposing kids to the command line is probably a valuable thing, but the idea that kids who learned to type a magic command to launch games on C64 have more useful knowledge than kids brought up on Mac/Windows is frankly stupid.)
Last night my five-year-old daughter complained her iPad was out of battery so I gave her my Nexus 7 and she had no problems using it (except for the relatively poorer quality of the apps). Then I gave her my Kindle Fire and she had no problem using that. (No, she can't read beyond numbers and sounding out words slowly.)
It's sad how because my daughter has been brought up on GUIs she can't run a computer from the command-line. No, wait, it isn't.