Data that summarizes the procedure of processing executed by a computer is called a program.
What is a programming language? Computers can't understand the words we usually speak. A computer-friendly language is called a programming language. Texts and files written in programming languages are called source code
Ruby java php Python
and so on.
To run the program, type a command into the terminal.
irb The irb command is a function that allows you to run Ruby programs directly from the terminal (short for Interactive Ruby). You can run it directly in the terminal instead of writing code in an editor and running the terminal.
#Start irb
% irb
irb(main):001:0> "Welcome! Ruby" #Type in like this
=>"Welcome! Ruby" #Output like this
That's all for today.
Recommended Posts