Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
5 little (…) functions  10 Problems solved 4Clojure  2 Solutions shared  …and Java Calls Clojure@diego_pacheco
Yes, I’m a geek guy.(And I like dinosaurs)      @diego_pacheco     diego-pacheco.blogspot.com     github.com/diegopacheco
Remember…            Respect The              REPL
Remember…(NO enterprise java Bullshit PLEASE)
.. (macro)             .
doto (macro)
(Classname/staticMethod args)        Classname/staticFieldProvide simplified access to static methods / static fields. You...
classname. & new
Clojure & Java/SwingThis Code create a JFrame and add a JlabelTo the frame, also some properties are setlike visible true ...
4Clojure.com10 Problems Solved +Share 2 Solutions
Solution 1
Solution 2
Java Calls Clojure2 Ways:   - Interpreted    - Compiled
Java Calls Clojure - Interpretedcalc.clj
Java Calls Clojure - Interpreted
Java Calls Clojure - Compileduser/complex.clj
Java Calls Clojure - Compiledcompile-clj.bat
Java Calls Clojure - Compiled
Whats Next ?Homework (all)• 3 new Functions from clojure.core• 10 problems at 4clojure (share 5 solutions)• Implement:  • ...
#2It’s time !!!(Randori dojo)    DEV Clojure
Recommended Books
(pr “Thanks All Folks”)@diego_pacheco
5 little clojure functions
Upcoming SlideShare
Loading in …5
×

5 little clojure functions

771 views

Published on

clojure, func, functions, functional, dev, java

Published in: Technology, News & Politics
  • Be the first to comment

  • Be the first to like this

5 little clojure functions

  1. 1. 5 little (…) functions 10 Problems solved 4Clojure 2 Solutions shared …and Java Calls Clojure@diego_pacheco
  2. 2. Yes, I’m a geek guy.(And I like dinosaurs) @diego_pacheco diego-pacheco.blogspot.com github.com/diegopacheco
  3. 3. Remember… Respect The REPL
  4. 4. Remember…(NO enterprise java Bullshit PLEASE)
  5. 5. .. (macro) .
  6. 6. doto (macro)
  7. 7. (Classname/staticMethod args) Classname/staticFieldProvide simplified access to static methods / static fields. You can callJava static method dead easy. Since Clojure is JAVA, you can callClojure/Java classes as well.
  8. 8. classname. & new
  9. 9. Clojure & Java/SwingThis Code create a JFrame and add a JlabelTo the frame, also some properties are setlike visible true and bounds(dimensions).
  10. 10. 4Clojure.com10 Problems Solved +Share 2 Solutions
  11. 11. Solution 1
  12. 12. Solution 2
  13. 13. Java Calls Clojure2 Ways: - Interpreted - Compiled
  14. 14. Java Calls Clojure - Interpretedcalc.clj
  15. 15. Java Calls Clojure - Interpreted
  16. 16. Java Calls Clojure - Compileduser/complex.clj
  17. 17. Java Calls Clojure - Compiledcompile-clj.bat
  18. 18. Java Calls Clojure - Compiled
  19. 19. Whats Next ?Homework (all)• 3 new Functions from clojure.core• 10 problems at 4clojure (share 5 solutions)• Implement: • (bank-transfer acc1 acc2 40)
  20. 20. #2It’s time !!!(Randori dojo) DEV Clojure
  21. 21. Recommended Books
  22. 22. (pr “Thanks All Folks”)@diego_pacheco

×