🔤High-Level Language
A language close to plain words. It hides the machine's details so you write less.
Think of it like
Think of it like a taxi. You say where to go, and the driver does each turn.
Example
Jack sorts a list of 1,000 names in Python with one word, sorted. In a low-level language that would take many lines.
Why it matters
Most new code is written in them. People's time costs more than the machine's.
Definition
Example code
python
>>> sorted(["Jack", "Emma", "Lucy"])
['Emma', 'Jack', 'Lucy']Common mistake
Key takeaways
- 1Close to words. The code reads almost like a sentence.
- 2Hides the machine. Memory and chips are handled for you.
- 3Less control. Ease costs some say over speed.