Jump to content

Talk:J (programming language)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RaulMiller (talk | contribs) at 21:15, 20 September 2005 ("Hello Wikipedia!"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Deletion justification

I deleted the content from the main page. The only content here was a C program designed to spawn a huge number of threads, presumably with the intent of crashing the computer it was run on. --Robert Merkel


"Hello Wikipedia!"

Is the "Hello World!" section correct? Does J really simply spit back any input it doesn't understand? --Maru 02:25, 15 July 2005 (UTC)[reply]

Yes: I have restored it. 'Hello world' is a literal string in J. If this is the only entity on the line, it is evaluated and displayed. --JahJah 13:41, 20 August 2005 (UTC)[reply]
For what it's worth: 'Hello World!' was displayed not because "it doesn't understand it". Instead, J displays the results of immediate execution -- traditionally, J is used in immediate execution mode. Thus, to display Hello world! you would give it an expression which evaluates to that string. For use in a console program, you'd want to preceed this string with 1!:2&2 (or a word containing this expression, or an analogous expression) but you would also need to address whatever system dependent things are required to associate a J interpreter session with a script, so that would be less suitable as an introductory program. --RaulMiller 21:08, 20 September 2005 (UTC)[reply]