This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-08
Channels
- # bangalore-clj (5)
- # beginners (6)
- # boot (66)
- # cider (48)
- # cljsrn (14)
- # clojure (699)
- # clojure-austin (2)
- # clojure-berlin (1)
- # clojure-boston (5)
- # clojure-dev (3)
- # clojure-india (7)
- # clojure-italy (24)
- # clojure-nl (5)
- # clojure-russia (33)
- # clojure-spec (30)
- # clojure-uk (64)
- # clojure-ukraine (22)
- # clojurescript (123)
- # clojurewest (1)
- # cursive (18)
- # datascript (44)
- # datomic (12)
- # dirac (46)
- # figwheel (1)
- # gsoc (5)
- # hoplon (6)
- # immutant (29)
- # instaparse (1)
- # juxt (26)
- # lein-figwheel (5)
- # leiningen (4)
- # luminus (8)
- # mount (56)
- # off-topic (60)
- # om (67)
- # om-next (1)
- # onyx (8)
- # proton (28)
- # re-frame (125)
- # ring (3)
- # ring-swagger (3)
- # specter (22)
- # testing (2)
- # unrepl (1)
- # untangled (91)
Coming from a Java background to Clojure the very first thing I googled was how to implement classes and interfaces in clojure to get things done. But that’s not idiomatic clojure (tbh what I ended up with was a disaster in retrospect). My advice would be to ramp up on the basic data structures - map, lists, vectors and their operations. And then write clojure which does what your Java code does. Also take off your OO hat 🙂
@niten.sagar also if you want to use some java libraries use what @kumarshantanu said.
It's important to learn how to think functionally and not to translate code written in X to Clojure.
@kumarshantanu @udit @bg Thanks for your suggestion. Basically my current work requires me to extract data from ads API like Adword, Bing etc and all this brand have java library. Therefore i need to integrate this library in clojure project.
@niten.sagar niten.sagar here’s a simple library that might help you write interop code: https://github.com/codonnell/uri/blob/master/src/uri/core.clj
@niten.sagar for accessing Adwords/Bing reports you can take a look at: https://github.com/uswitch/adworj https://github.com/uswitch/binj they might be enough for your needs