From: slack Date: Thu, 10 Dec 2009 04:43:49 +0000 (+0100) Subject: Release Candidate 1 :) X-Git-Url: http://slack.codemaniacs.com/git/?a=commitdiff_plain;h=5638a961037b95b2b284ed9c11a8dcec62f56cc6;p=clojure-slides.git Release Candidate 1 :) --- diff --git a/clojure-slides.xhtml b/clojure-slides.xhtml index 9ced9ae..d02dfdb 100755 --- a/clojure-slides.xhtml +++ b/clojure-slides.xhtml @@ -14,8 +14,15 @@ + .Comment { color: #00ffff; font-weight: bold; } + .Constant { color: #ff40ff; font-weight: bold; } + .Statement { color: #009000; font-weight: bold; } + .Identifier { color: #8080ff; font-weight: bold; } + pre.source { font-family: monospace; color: #000000; background-color: #f9f9f9; } + .Special { color: #ff6060; font-weight: bold; } + .PreProc { color: #8080ff; font-weight: bold; } + .Type { color: #2e8b57; font-weight: bold; } +
@@ -23,12 +30,130 @@
-
-

Clojure logo Clojure

-

Jorge 'slack' Gorbe

-

slack@codemaniacs.com

+
+

+ Clojure logo + Clojure +

+

Jorge 'slack' Gorbe

+

slack@codemaniacs.com

+
+

C++ mola, ¿por qué no te gusta?

+ +

"In computer programming, boilerplate is the term used to describe + sections of code that have to be included in many places with little or no + alteration. It is more often used when referring to languages which are + considered verbose, i.e. the programmer must write a lot of code to do + minimal jobs."

+

+ http://en.wikipedia.org/wiki/Boilerplate_%28text%29#Boilerplate_code +

+
+ +
+

C++ mola, ¿por qué no te gusta?

+ +
+ +
+

C++ mola, ¿por qué no te gusta?

+ +
+ +
+

C++ mola, ¿por qué no te gusta?

+ +
+ + +
+

Es mas... ¿por qué creemos que la OOP es la panacea?

+

Alexander Stepanov (coautor de la STL) dijo una vez:

+ +
+

¿Qué es Clojure?

Cuatro grandes ideas:

@@ -62,7 +187,11 @@

Clojure corre en la JVM

@@ -118,6 +257,7 @@
  • Cadenas: "Hola, mundo"
  • +
  • Regex: #"patron" es un objeto de tipo java.util.regex.Pattern
  • Keywords: :cosa
  • Símbolos: cosa
  • Booleanos: true,false
  • @@ -134,17 +274,14 @@
  • Vectores: [1 2 3 4] +
    (def v [1 2 3 4])
    (v 0)   => 1
  • Diccionarios: {:a 1, :b 2} - +
    ({:a 1, :b 2} :b)   => 2
    +({:a 1, :b 2} :x)   => nil
  • Conjuntos: #{1 2 :a "blah"}
  • @@ -153,7 +290,11 @@

    Programas = Estructuras de datos

    +
    -

    Es mas... ¿por qué creemos que la OOP es la panacea?

    -

    Alexander Stepanov (coautor de la STL) dijo una vez:

    +

    Lazy sequences

    + +
    + + +
    +

    Multimétodos

    + +
    + +
    +

    Multimétodos (II)

    +
    + +
    +

    Java interop

    + +
    + +
    +

    Java interop (II)

    + +
    + + +
    +

    Problemas

    + +
    + +
    +

    Conclusiones

    + +
    + +
    +

    Fin

    + +
    +