News for hackers. Stuff that matters.
Re:Helping my students overcome command-line bullshittery by jerf on Friday October 10, 2014 @12:32PM (#8438628)
If the command line were underpowered, it would have been abandoned decades ago. It's still around precisely because it's incredibly powerful, and nobody has come up with a suitable replacement that doesn't involve sacrificing a lot of power.

Further, all of the "No, obviously this would work much better!"s have been tried already. Dozens of times, if not hundreds. Some of them you can even download right now. Nevertheless, the command line persists. It may not be perfect in every detail, but it's far harder to exceed than it seems at an initial, frustrated glance. If you hope to someday so replace it, it would be wise to understand exactly why that is, lest your effort completely fail in exactly the same way as so many prior attempts.

Re:Helping my students overcome command-line bullshittery by hderms on Friday October 10, 2014 @01:00PM (#8438808)
It's not that the commandline is necessarily underpowered, imo, it's that the discoverability and intuitiveness of the *nix userland is pretty low. Man pages are a great way to document every flag a program accepts, but are a terrible way for someone to figure out some simple use case for the program. Similarly, flags are named without any regard for intuitiveness (-l is liable to mean different things for any program you encounter, and the precise meanings one program decided on can be hard to remember because there is no explicit commonality with any other tool).

In that sense, it absolutely is a user hostile design and it involves lots of unnecessary memorization.

Re:Helping my students overcome command-line bullshittery by Kalium on Friday October 10, 2014 @02:31PM (#8439314)
It's unintuitive if you come from Window-GUI-land. It's plenty intuitive that should consult the manual within UNIX-land.

Remember, intuition is not some inborn instinct. It's a product of training. To a user of MULTICS, iOS is wildly unintuitive.

Re:Helping my students overcome command-line bullshittery by jerf on Friday October 10, 2014 @01:08PM (#8438859)
Yes, by no means consider my post a defense of every quirky detail of history. My point is more that one must start by correctly identifying the problems before one could hope to solve the problems, and "lack of power" is definitely not it.
Re:Helping my students overcome command-line bullshittery by Curmudgel on Friday October 10, 2014 @02:47PM (#8439403)
The command line is the heart of Unix and Friends, which is why it wasn't abandoned decades ago. And it's almost impossible to replace the *nixes because of network effects and extraordinarily high costs.

The command line is "powerful" because it is "simple" in the sense that it doesn't really do anything for you. Commands have their own input and output syntax based on their needs and it's up to the user to figure out how to fit it together. I think one having standard serialization format, so that you wouldn't have to waste time learning and thinking about each command's special little syntax would be much more powerful.

Re:Helping my students overcome command-line bullshittery by JoeAltmaier on Friday October 10, 2014 @12:37PM (#8438667)
I use command lines maybe once a month. For almost everything, it has been replaced. For those places it hasn't, I blame the tool for not automating some process that could have easily been automated.
Re:Helping my students overcome command-line bullshittery by dllthomas on Friday October 10, 2014 @01:09PM (#8438865)
I absolutely live at the command line, and when I'm forced into a walled garden I blame the tool for not properly exposing its functionality to the rest of the system so I can easily automate it the way I want it automated.

Edited to add:

Note that this isn't a claim that anyone else (in particular) is Doing It Wrong - it's what works for me, I'm sure there are other points in the space that work as well or better for others. That, itself, should not be taken as a claim that every point in the space is equivalent - that's not true either. What I do strongly refute is any notion that the command line is "under powered" in general.

Re:Helping my students overcome command-line bullshittery by JoeAltmaier on Friday October 10, 2014 @02:02PM (#8439163)
Used to be me. But I got sick of remembering all the arcane stuff. Now its a pulldown menu away in an IDE.
Re:Helping my students overcome command-line bullshittery by dllthomas on Friday October 10, 2014 @03:48PM (#8439671)
That reads a bit odd.

"I used to be fluent in French. But I got sick of remembering all the arcane stuff. Now it's just pages away in a phrase book."

Probably you were never really fluent in French in the first place. Which is to say, you were never really entirely comfortable at the shell. Which is fine - as I said, I don't assert that it's the best fit for everyone. But for me, just like producing English doesn't feel like I'm "remembering arcane stuff" neither does producing Bash, even though I fully recognize that objectively both are plenty weird.

Re:Helping my students overcome command-line bullshittery by JoeAltmaier on Sunday October 12, 2014 @08:05AM (#8445059)
That's just wrong. I've written shells. I've written tools. I started in this business before IDE's existed. Some folks grow out of it, some stay because its so cool to know what all those switches mean.
Re:Helping my students overcome command-line bullshittery by dllthomas on Sunday October 12, 2014 @10:06AM (#8445310)
"That's just wrong."

Please explain, rather than simply asserting.

"I've written shells. I've written tools."

I've written GUIs. That's pretty well unrelated to whether the interface fits you well.

"I started in this business before IDE's existed."

I don't see how that undermines my point. It would explain why you wound up using the shell despite it being a poor fit for you.

"Some folks grow out of it, some stay because its so cool to know what all those switches mean."

Veiled insults don't make your point stronger.

Re:Helping my students overcome command-line bullshittery by JoeAltmaier on Sunday October 12, 2014 @10:19AM (#8445341)
What you said. Its wrong. I'm not like that.

I was a command-line master. Because you had to be, before IDEs.

And the last comment was to match the tone of the parent comment.

Re:Helping my students overcome command-line bullshittery by dllthomas on Sunday October 12, 2014 @11:21AM (#8445498)
"I was a command-line master."

Okay.

"And the last comment was to match the tone of the parent comment."

Except you didn't match the tone of the parent comment. You said, "You're juvenile and only prefer the command line because of pride." The parent contains nothing similar; the nearest I see is a reasoned guess at your level of comfort using a tool - not even your level of skill with the tool - accompanied by an explicit statement that it's not intended as a judgement. Even if it's wrong, that's not an insult.

If this is the level of discussion I'm going to be getting, I'm done with this thread.

Re:Helping my students overcome command-line bullshittery by JoeAltmaier on Tuesday October 14, 2014 @09:43AM (#8453330)
I guess I was put off by the glib dissection of my skills and personality. Maybe it didn't seem that way when written, but it sure did when read. Its call 'ad hominem' and I responded in kind, which was probably not very cool. I apologize.
Re:Helping my students overcome command-line bullshittery by mcguire on Friday October 10, 2014 @12:49PM (#8438744)
Some days I wish someone would have already created a tool to do all of the stuff I needed to do.
Re:Helping my students overcome command-line bullshittery by rthomas6 on Friday October 10, 2014 @02:25PM (#8439279)
They did, you just have to do a bunch of command-line bullshittery to get it to work.
Re:Helping my students overcome command-line bullshittery by pjene on Friday October 10, 2014 @01:10PM (#8438880)
That day, no one will pay you to do what you do.