Remarks: One-Liners
From Maze
(Difference between revisions)
(Added APL info at beginning) | (Added a tiny bit on Perl at the end) | ||
| Line 59: | Line 59: | ||
<code>10 poke 53248+rnd(0)*46,rnd(0)*256: goto 10</code> | <code>10 poke 53248+rnd(0)*46,rnd(0)*256: goto 10</code> | ||
| + | Computers no longer power on to the READY prompt and the BASIC programming language, but one-liners in other languages live on. They are often created for fun and for utility in Perl, for instance. One useful Perl one-liner -- or, more precisely, a template for writing a family of useful Perl scripts -- is described in the BASIC chapter, in the section "BASIC Code in Human Memory." | ||
| + | |||
= Works Cited = | = Works Cited = | ||
