News for hackers. Stuff that matters.
Re:Why can't I write code inside my browser? by rualca on Friday January 15, 2021 @08:48AM (#25790885)
> The command line is a layer of abstraction that could be made unnecessary for programming.

Wow, if I ever saw a comment on HN that was fundamentally wrong on many levels, this was it.

No, a command line interface is not "a layer of abstraction". A command line interface is an interface. That's it. Instead of pressing a button, you run a command. If you want to pass settings to an app when you launch it, you use the command line interface. If you want to script away a task, you call the command from your script.

That's it. It's not a layer of abstraction. It's an interface. They exist for many good reasons.

Re:Why can't I write code inside my browser? by humanrebar on Friday January 15, 2021 @09:38AM (#25791411)
> Wow, if I ever saw a comment on HN that was fundamentally wrong on many levels, this was it.

You must not visit political threads much.

But seriously, you could have said that in a constructive way.

Re:Why can't I write code inside my browser? by 0-_-0 on Friday January 15, 2021 @08:50AM (#25790904)
Sure, but you're entirely missing the point. Question is, is it necessary for programming? I repeat, to be entirely clear, is it necessary? Not useful, but necessary for a beginner to touch the command line?
Re:Why can't I write code inside my browser? by rualca on Saturday January 16, 2021 @05:03AM (#25801287)
> Question is, is it necessary for programming?

Why, yes?

> Not useful, but necessary for a beginner to touch the command line?

Do you understand that you're asking if a beginner needs to run or pass a setting or even automate any operation that's relevant to programming?

I repeat, a CLI is an interface. It's an interface to perform an action and/or pass a setting. That's it. What warrants this irrational opposition to an interface?

Re:Why can't I write code inside my browser? by 0-_-0 on Saturday January 16, 2021 @05:14AM (#25801332)
What warrants this fanatical devotion to command line iterfaces while people have been happily coding without them for decades?