Are there programmers? You've read more than once the descriptions for a new programming language for yourself. Never annoyed every time to delve into the countless entry and sullen philosophy? Pick up any book on C ++, perl, java - whole novels are written there “before you start programming in java you have to figure out for yourself ...”, “before learning C ++, you need to study the history of the C family ...”, “Perl is not a hoot for you ! Perl is to go nuts! What a perl! ... ”. When, in fact, all programming languages ​​are like brothers, and learning a new one requires nothing more than:
a) listing features b) typical code example c) a list of all functions and operators (this item on the Internet is abundant)
I will try on an example ... ')
Basic Vilnius-86
(modification of the basic language for Soviet computers BK-10/11 probably the only programming language I know)
Each line of the program code is given a number. When the program is running, the lines are started alternately in ascending order of numbers. The default is to do step ten.
The GOTO 30 and GOSUB 30 operators violate the sequence of numbers. The first one simply jumps to the specified number 30, the second one comes back, after the first RETURN operator encountered
Variable names consist of two characters. the icon after the name determines the type of the variable: X% is an integer X1! - fractional number with several digits after the decimal point XY - (without icon) a fractional number with a bunch of numbers after a comma, eating memory XY¤ - (icon-sun) a string of not more than 255 characters Lowercase and uppercase letters do not differ. You can assign any value to a variable, and this automatically translates.
Comparison operators: =, <>,>, <,> =, <=
Characteristic listing:
10 ? "HELLO WORD" 20 A% = 5 30 B¤ = "hey" 60 IF A%=5 THEN C%=3 ELSE PRINT "- " 70 FOR T%=1 TO C% 80 ? "T="; T%; "( )" 81 ? "sin"; T%; "="; SIN(T%) 90 NEXT T%
Since the language was developed specifically for schools, most of the operators and functions draw point-circle-lines on the screen or help in mathematics.
I dare to suggest that this is quite enough for further work. At least in order to find an error or a necessary change in another's code in an unfamiliar programming language.