ThesaHelp: references t-z
Group: object-oriented programming
Topic: dynamic vs. static data type
Topic: type reflection and introspection
Topic: scripting language
Topic: object-oriented fields
Topic: opaque and partially-opaque data types
Topic: program blocks for control
Topic: namespace
Topic: interface type
Topic: monitored statements and events
Topic: object-oriented procedures
Topic: immutable files and data
Topic: notation for operations
| |
Reference
Thomas, D., Hunt, A.,
"Programming in Ruby",
Dr. Dobb's Journal, January 2001, pp. 44-51.
Google
Notes
http://www.ruby-lang.org
Quotations
44 ;;Quote: Ruby is a pure, untyped, object-oriented language with metaclasses, iterators, closures, reflection, run-time extension, dynamic loading, marshalling, threads, exceptions, garbage collection
| 46 ;;Quote: Ruby instance variables are always protected; accessible to subclasses only
| 46+;;Quote: use Ruby attributes to get and set instance variables; define explicitly or via 'attr_accessor', etc.
| 48 ;;Quote: Ruby blocks are closures or anonymous methods; code that is stored along with its context; delimitated by braces or do..end
| 49 ;;Quote: a Ruby module is a namespace
| 49+;;Quote: a Ruby mix-in is an interface that includes code; e.g., 'find' for 'Enumerable'; implemented as a module
| 51 ;;Quote: Ruby uses a ! suffix to indicate methods that modify their object, and ? for predicates
|
Related Topics
ThesaHelp: references t-z (309 items)
Group: object-oriented programming (26 topics, 814 quotes)
Topic: dynamic vs. static data type (19 items)
Topic: type reflection and introspection (28 items)
Topic: scripting language (27 items)
Topic: object-oriented fields (28 items)
Topic: opaque and partially-opaque data types (14 items)
Topic: program blocks for control (20 items)
Topic: namespace (19 items)
Topic: interface type (50 items)
Topic: monitored statements and events (16 items)
Topic: object-oriented procedures (41 items)
Topic: immutable files and data (57 items)
Topic: notation for operations (18 items)
|