Hello World in J
Every programming journey starts with Hello World. In J, this is remarkably concise—just a string expression that outputs to the screen.
The Code
Create a file named hello.ijs:
| |
Every programming journey starts with Hello World. In J, this is remarkably concise—just a string expression that outputs to the screen.
Create a file named hello.ijs:
| |
In most languages, variables hold single values—a number, a string, a boolean. In J, the fundamental unit of data is the array. Even a single number is an array (a zero-dimensional one). Understanding …
Read more →In most programming languages, “operators” are a small, fixed set of infix symbols like +, -, and ==. In J, what other languages call operators are called verbs, and they are first-class …
Most languages treat control flow as the backbone of a program: you branch with if, you repeat with for and while, and you walk through data one element at a time. J supports all of these structures, …
In most languages a “function” is a named block of statements that you call with arguments. J has functions too, but it calls them verbs, and the way you build them reflects J’s …
Read more →Showing 1–5 of 5 posts (page 1 of 1)