aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
< Benutzer:Oneup
Version vom 11. August 2009, 14:46 Uhr von Oneup (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

i suppose programming languages are pretty perfect nowadays, we could live better though. most things that should have been implemented have been.

class "Foo"

 def "say_what"
   "hello my name is"
 def "greet" someone
   "y0! #someone"

def "foo"

  1. or

set "a"

users = words (peter, paul, mary, joe) users.each u

 print u

users_with_p = users.collect( u, (u.starts_with "p")) users_with_p = users.collect (starts_with "p") # higher order messaging

  1. i wanted to iterate onwards from this since the beginning, **i should have shared my thoughts with others to explore this properly**
  2. close to ruby's syntax, but powerful meta programming