Remarks
- (1) for C, it is not a standard convention, but it is the more widespread
- (2) any string literal would work
- (3) see also =head1, =head2, =over, etc
- (4) need "file: %script-header.r" in file header
- (5) displayed <- with a special character
- (6) variable on the right
- (7) the variable behaves like a pointer
- (8) cf horizontal layout
- (9) introduce scope
- (10) ascii representation, original uses a special charset
- (11) <> and # are synonyms
- (12) === and !== differ from == and != when the objects' type differ
- (13) for objects
- (14) deep comparison
- (15) in List::Util
- (16) procedure call
- (17) the function is "f: g:"
- (18) special sugar for only one parameter
- (19) there really is a parameter which is the empty tuple
- (20) f is a block
- (21) when callee has special "&" prototype
- (22) this is a block, not precisely a function, but it's alike
- (23) also works for procedures: proc {$ A B} ... end
- (24) method is optional
- (25) in Lua, "return xxx" can only appear before a block end
- (26) "return" is used when there is no value to return
- (27) the result goes to "e"
- (28) "break"s are mandatory, even for "default"!
- (29) Perl >= 5.8.0
- (30) cond
- (31) see also catch/throw
- (32) often provided in the abbreviated form call/cc
- (33) expression "e" is cast to the type of "v"
- (34) quite bad: only the reference is non-mutable whereas the object is still mutable
- (35) eventual send
- (36) properties are something alike attributes, but really are methods
- (37) one level depth
- (38) general deep copy function
- (39) object cloning is the default, uses the copy constructor in C++
- (40) assignment attempt
- (41) does not work on builtin types
- (42) see also callable(obj.meth) for unbound methods
- (43) usually called self
- (44) ":" is for external symbols only, recommended
- (45) if names are exported using @EXPORT
- (46) if names are not exported or are exported using @EXPORT_OK
- (47) deprecated in ANSI Common Lisp, but used in ASDF
- (48) using a correspondance from the package name to the file name
- (49) when using format
- (50) but not using the C-like %-syntax
- (51) adding an end-of-line
- (52) adding an end-of-line unless already newline-terminated
- (53) faster than isEqual
- (54) Lua 5.0
- (55) is range-checked whereas a[i] is not
- (56) ESI dialect
- (57) beware of 0.0 which is true in Pike!
- (58) &, and synonyms
- (59) simple functions, not operators
- (60) flattened
- (61) restricted to initialisation of a local variable in C and C++
- (62) a b c must be constants
- (63) beware, if you give only one integer argument, it is the size!
- (64) for write access: a i o put
- (65) for write access: a :at i :put o
- (66) list comprehension
- (67) not in standard
- (68) in place
- (69) not standard, but nearly standard
- (70) the result is not guaranteed to be the same as the order in the input
- (71) Borland Pascal extension
- (72) prefix
- (73) postfix
- (74) infix
- (75) only for "access" types
- (76) attribute selector
- (77) returns an iterator
- (78) integers are decimals
- (79) with mathematical priorities
- (80) APL uses a real multiplication sign for multiplication from a special character set
- (81) for each various types
- (82) Ruby >= 1.7
- (83) log x 10
- (84) see also bit-and / bit-or / bit-xor
- (85) see also bit-not
- (86) "stop" is now deprecated
Credits
- Yoann 'Pad' Padioleau (Haskell additions, Beta, various fixes)
- Jakub Travnik (Pascal, Delphi-Kylix)
- Robert Feldt (Ruby additions)
- Pascal Terjan (PHP)
- Carlos 'angus' (PostScript)
- Axel Kittenberger (various)
- Guido van Rossum (block vs scoping)
- Jeffrey Hobbs (Tcl)
- Mark-Jason Dominus (SML, various)
- Ash Searle (Java, PHP, JavaScript)
- Mark S. Miller (E)
- Pete Jinks (various)
- Steve Tolkin (various)
- Franck Arnaud (Eiffel)
- Tom Murphy (SML)
- Guy Steele (Fortran, and many various)
- Carl Gay (Dylan, CommonLisp)
- Jay nop@nop.com (Lua)
- Philippe Lhoste (Lua, JavaScript)
- Jim Rogers (Ada, Java, Threads section)
- Ketil Z. Malde (Haskell)
- Mark Carroll (Modula-3)
- Keith Wansbrough (Haskell and a few SML)
- Remi Vanicat (OCaml)
- Matthieu Villeneuve (CommonLisp)
- Joachim Durchholz (Eiffel)
- Walter Vannini (C, "breaking lines" idea)
- Peter Lewerin (Tcl)
- Patrice Ossona de Mendez (Pliant)
- Bert Freudenberg (Smalltalk & Squeak additions corrections)
- Dennis Haney (Perl, C#)
- Fergus Henderson (Mercury)
- Ralph Becket (Mercury)
- Bill Thornton (Java)
- Nik Crabtree (C#)
- Neal Holtz (Python)
- Donald Chai (Python)
- Fred Spiessens (Oz)
- Martin Nilsson (Pike)
- Theodore Eastman (VisualBasic)
- George Herson (Eiffel)
- Lee Denison (Tcl)
- Anton Rolls (Rebol)
- Pedro (Lua)
- Nathan Sharfi (C99, C#, C++)
- Dirk Gerrits (Common Lisp, Scheme, Emacs Lisp)
- Tabitha Arrowny (Ruby, Python, Perl, ...)
- Péter Varga (sh, Common Lisp)
- Ian Henderson (Objective C)
- Anthony Borla (Classic REXX)
- Paul McJones (Modula-3 fixes)
- Uwe Kolb (Smalltalk fixes)
- Ciaran McNulty (PHP)
- David B. Nagle (Yorick)
- Michael Schaufelberger (Eiffel)
Pixel
This document is licensed under GFDL (GNU Free Documentation License).