SlideShare a Scribd company logo
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/staticField
Provide simplified access to static methods / static fields. You can call
Java static method dead easy. Since Clojure is JAVA, you can call
Clojure/Java classes as well.
classname. & new
Clojure & Java/Swing
This Code create a JFrame and add a Jlabel
To the frame, also some properties are set
like visible true and bounds(dimensions).
4Clojure.com



10 Problems Solved +
Share 2 Solutions
5 little clojure functions
Solution 1
Solution 2
Java Calls Clojure
2 Ways:
   - Interpreted
    - Compiled
Java Calls Clojure - Interpreted
calc.clj
Java Calls Clojure - Interpreted
Java Calls Clojure - Compiled
user/complex.clj
Java Calls Clojure - Compiled

compile-clj.bat
Java Calls Clojure - Compiled
What's Next ?
Homework (all)
• 3 new Functions from clojure.core
• 10 problems at 4clojure (share 5 solutions)
• Implement:
  • (bank-transfer acc1 acc2 40)
#2
It’s time !!!
(Randori dojo)


    DEV Clojure
Recommended Books
(pr “Thanks All Folks”)
@diego_pacheco

More Related Content

PPTX
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
PPTX
Change Anything with Cucumber and ATDD
PPTX
Object Calisthenics - TDD Milano
PPTX
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
PDF
Introduction to Clojure
PDF
Not So Foreign Functions
PDF
Advance java kvr -satya
PDF
Building Better IoT Applications without Servers
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
Change Anything with Cucumber and ATDD
Object Calisthenics - TDD Milano
Internet and Web Technology (CLASS-15) [JAVA Basics] | NIC/NIELIT Web Technol...
Introduction to Clojure
Not So Foreign Functions
Advance java kvr -satya
Building Better IoT Applications without Servers

Similar to 5 little clojure functions (20)

PDF
3 little clojure functions 4
PDF
Clojure for Java developers
PDF
From Java To Clojure (English version)
PDF
Clojure made-simple - John Stevenson
ODP
Getting started with Clojure
ODP
Clojure made really really simple
PDF
Wrapping java in awesomeness aka condensator
ODP
Clojure made simple - Lightning talk
PDF
Clojure - A practical LISP for the JVM
PDF
'Getting' Clojure - '(parentheses are just hugs for your code)
PDF
Clojure - A new Lisp
PDF
Clojure & Scala
PPT
Core java by a introduction sandesh sharma
PPTX
Clojure Fundamentals Course For Beginners
PDF
Introduction to Clojure
PDF
Clojure class
PDF
The Ideas of Clojure - Things I learn from Clojure
PDF
Clojure for Java developers - Stockholm
PDF
Clojure and The Robot Apocalypse
PDF
A Taste of Clojure
3 little clojure functions 4
Clojure for Java developers
From Java To Clojure (English version)
Clojure made-simple - John Stevenson
Getting started with Clojure
Clojure made really really simple
Wrapping java in awesomeness aka condensator
Clojure made simple - Lightning talk
Clojure - A practical LISP for the JVM
'Getting' Clojure - '(parentheses are just hugs for your code)
Clojure - A new Lisp
Clojure & Scala
Core java by a introduction sandesh sharma
Clojure Fundamentals Course For Beginners
Introduction to Clojure
Clojure class
The Ideas of Clojure - Things I learn from Clojure
Clojure for Java developers - Stockholm
Clojure and The Robot Apocalypse
A Taste of Clojure
Ad

More from Diego Pacheco (20)

PDF
Naming Things Book : Simple Book Review!
PDF
Continuous Discovery Habits Book Review.pdf
PDF
Thoughts about Shape Up
PDF
Holacracy
PDF
AWS IAM
PDF
PDF
Encryption Deep Dive
PDF
Sec 101
PDF
Reflections on SCM
PDF
Management: Doing the non-obvious! III
PDF
Design is not Subjective
PDF
Architecture & Engineering : Doing the non-obvious!
PDF
Management doing the non-obvious II
PDF
Testing in production
PDF
Nine lies about work
PDF
Management: doing the nonobvious!
PDF
AI and the Future
PDF
Dealing with dependencies
PDF
Dealing with dependencies in tests
PDF
Kanban 2020
Naming Things Book : Simple Book Review!
Continuous Discovery Habits Book Review.pdf
Thoughts about Shape Up
Holacracy
AWS IAM
Encryption Deep Dive
Sec 101
Reflections on SCM
Management: Doing the non-obvious! III
Design is not Subjective
Architecture & Engineering : Doing the non-obvious!
Management doing the non-obvious II
Testing in production
Nine lies about work
Management: doing the nonobvious!
AI and the Future
Dealing with dependencies
Dealing with dependencies in tests
Kanban 2020
Ad

Recently uploaded (20)

PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
1. Introduction to Computer Programming.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Getting Started with Data Integration: FME Form 101
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Encapsulation theory and applications.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Mushroom cultivation and it's methods.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Hybrid model detection and classification of lung cancer
PDF
project resource management chapter-09.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
A Presentation on Artificial Intelligence
A novel scalable deep ensemble learning framework for big data classification...
1. Introduction to Computer Programming.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Tartificialntelligence_presentation.pptx
Getting Started with Data Integration: FME Form 101
TLE Review Electricity (Electricity).pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Encapsulation theory and applications.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
Chapter 5: Probability Theory and Statistics
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Mushroom cultivation and it's methods.pdf
Approach and Philosophy of On baking technology
Zenith AI: Advanced Artificial Intelligence
Group 1 Presentation -Planning and Decision Making .pptx
Hybrid model detection and classification of lung cancer
project resource management chapter-09.pdf
A comparative study of natural language inference in Swahili using monolingua...
A Presentation on Artificial Intelligence

5 little clojure functions