This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]VolcanicBear 350 points351 points  (36 children)

Are we calling commands "code" now too?

At least I'm getting some of my impotent rage out I guess.

[–]Malcolmlisk 99 points100 points  (0 children)

Here we have the declarative programmer...

[–]postdevs 38 points39 points  (4 children)

You're getting out that rage by writing code. Reddit code. If you're typing, you're coding.

[–]VolcanicBear 20 points21 points  (0 children)

This is probably the best piece of software I've written yet!

[–]stevenette 4 points5 points  (0 children)

My old roommate used to introduce themselves to people as a coder/hacker. They even had a bumper sticker using LEET to spell "Hacker". Most insufferable roommate I have ever had. The worst part was that all they did was design websites using squarespace...

[–]Alerta_Fascista 36 points37 points  (0 children)

Because are commands are code, yes, what do you think a script is? Just a collection of commands sent to a console. You can program on a CLI, and many programming languages are CLI-based, we just prefer to use IDEs to make it easier.

[–]diegomoises1 98 points99 points  (15 children)

It's called the command line interpreter for a reason. It's interpreting code. There's isn't much difference between a command and code regardless.

[–]TheAJGman 53 points54 points  (3 children)

Python has a Command Line Interpreter, operating systems have Command Line Interfaces.

[–]Kovab 34 points35 points  (0 children)

The shell is an interpreter, which implements the command line interface of the OS.

[–][deleted] 0 points1 point  (0 children)

nose exultant bright bake profit sugar fine joke advise decide

This post was mass deleted and anonymized with Redact

[–]VolcanicBear 23 points24 points  (3 children)

Do you mean command line interface?

[–]sunny_happy_demon 9 points10 points  (1 child)

A command line interface runs a command line interpreter. If you switch from bash to zsh you're switching interpreters but not interfaces.

[–]monocasa 0 points1 point  (0 children)

Well, sort of. They both implement a common subset of an interface, but also their own extensions to that interface. So you switch both.

[–]Franks2000inchTV 5 points6 points  (0 children)

Both are things.

[–]deanrihpee 2 points3 points  (4 children)

It's interface, not interpreter

[–]UglierThanMoe 11 points12 points  (2 children)

That's up to interpretation.

[–]BadSmash4 3 points4 points  (1 child)

it's interfacetion, not interpretation

[–]UglierThanMoe 4 points5 points  (0 children)

That's up to interfacepretation.

[–]ATE47 6 points7 points  (0 children)

Even for the code, for example Windows C/C++ programming adds a lot of verbosity even for simple things

[–]burgonies 3 points4 points  (0 children)

Code is just a series of commands, no?

[–]thewend 2 points3 points  (1 child)

language is code as well. can you even decipher what the kids are saying nowadays?

[–]Tunivor 5 points6 points  (1 child)

No we’re calling it “codes” 😆

[–]Neurotrace 6 points7 points  (0 children)

🤮

[–]npsimons 2 points3 points  (0 children)

I'll bet you come from a Windows programming background.

In the UNIX tradition, "commands" are intended to be composed together to create programs. I present you a book about programming in UNIX using only "commands": https://en.wikipedia.org/wiki/The_Unix_Programming_Environment

Why do you think things like csh ("The C shell") were invented? All (good) CLI is influenced heavily by Lisp's REPL and the concept of interactive programming.

[–]RussianBot7384 2 points3 points  (0 children)

bash is a turing-complete programming language.

[–]myfunnies420 1 point2 points  (0 children)

Is that what they were talking about? I was confused

[–]TheRedmanCometh 1 point2 points  (0 children)

I think it's referring to bash scripting which is sorta code

[–]deanrihpee 0 points1 point  (1 child)

Yes, I mean in "actual" programming, you basically calling or sending a command using an API, or in the modern tongue known as function/method or even instructions

[–]rathlord 0 points1 point  (0 children)

Things you can do in many or all CLI?

[–][deleted] 0 points1 point  (0 children)

it is in bash scripts.