Is there a human readable programming language?

grammar, nlp

Solution

COBOL is a lot like that.

SET MYVAR TO 10.
EXECUTE MYMETHOD with 10, MYVAR.

Another sample from Wikipedia:

ADD YEARS TO AGE.
MULTIPLY PRICE BY QUANTITY GIVING COST.
SUBTRACT DISCOUNT FROM COST GIVING FINAL-COST.

Oddly enough though, despite its design to be readable as English, most programmers completely undermined this with bizarre naming conventions:

SET VAR_00_MYVAR_PIC99 TO 10.
EXECUTE PROC_10_MYMETHOD with 10, VAR_00_MYVAR_PIC99.

Problem

I mean, is there a coded language with human style coding? For example: ``` Create an object called MyVar and initialize it to 10; Take MyVar and call MyMethod() with parameters. . . ``` I know it's not so useful, but it can be interesting to create such a grammar.

Original source

Related problems