r/learnprogramming • • 1h ago

Beginner friendly

I'm using a Linux computer. By ive been using it for Years. I want to know what the easiest code to Lean.

1 Upvotes

13 comments sorted by

5

u/ninhaomah 1h ago

Bash

2

u/N546RV 1h ago

your head against the wall

3

u/DiabloConQueso 1h ago

There isn't an "easiest code to learn."

They're all, outside of lower-level languages like assembly, comprised of loops, conditionals, variables, constants, functions, and other basic concepts.

Learn the basic concepts, then you'll be primed to learn just about any higher-level language. Languages are about syntax and context. Programming is about concepts.

•

u/Key_Storm_2273 13m ago

Take a look at some side by side comparisons doing the same thing in multiple languages, and see which syntax looks more intuitive to you. Different languages may work slightly differently for different peoples' thinking style, but what DiabloConQueso said is right.

2

u/LRaccoon 1h ago

Easiest? Python

1

u/Hot_Dog2376 1h ago

Python.  Good first language

1

u/cartrman 1h ago

Are u comfortable using the command line?

1

u/Jawawizard10 1h ago

Start with C imo, you are forced to learn the fundamentals since it doesn't abstract much away, and it natively integrates with Linux since there's a mountain of headers in /usr/include to interact with the OS.

1

u/Traveling-Techie 1h ago

Python’s ability to interpret immediate input is a great learning tool.

•

u/gm310509 25m ago

Programming languages are simply a mechanism that allows you to tell a computer what to do.

To use an analogy it is sort of like motor vehicles. They are simply mechanisms that help get you and your stuff from A to B. They all have different features, pros and cons but they all do the same basic thing, just in different ways. Your question is like "what is the easiest motor vehicle to learn?". Well if you had been riding bicycles all your life, the easiest motor vehicle to learn might well be a small motorised scooter.

So, a better question might be "I have been using a linux computer for years, I do (list of things) manually in (this environment - e.g. command line or GUI) and I would like to automate them. What would be a suitable programming language to begin doing some of that stuff automatically?"

Otherwise, just pick one at random. I would suggest maybe learning the basics of bash, but there are loads of others.