On Monday, August 10, 2015 at 5:10:19 PM UTC+2, Omid Mo'menzadeh wrote:
> The problem actually isn't the interop, but the fact that the code will 
> contain a lot of mutations, because of the nature of the Javascript libraries 
> out there. I have tried using a few of the tools, such as CreateJS with 
> Clojurescript, it works, but the code isn't really idiomatic Clojurescript 
> after all.
> 
> But still, separating the core logic from the Graphics, Sound and Physics 
> libraries will let you write a big portion of your code in a more functional 
> manner.
> 
> P.S.: The library I have been using is http://www.createjs.com/ , in case 
> anyone is interested.
> 
> 
> 
> On Mon, Aug 10, 2015 at 7:34 PM, Linus Ericsson <[email protected]> 
> wrote:
> Well, if you know javascript well enough I don't think the interop is
> 
> that much of a problem. There are some things which can be a bit
> 
> unintuitive, but usually there are plenty of answered questions at
> 
> StackOverflow and other places, or just ask here!
> 
> 
> 
> I would recommend starting out with lein figwheel and the flappy-birds
> 
> example (some interop examples there already) and see where you end
> 
> up:
> 
> 
> 
> https://github.com/bhauman/lein-figwheel
> 
> 
> 
> /Linus
> 
> 
> 
> 
> 
> 2015-08-10 16:21 GMT+02:00 Aleksandr <[email protected]>:
> 
> > Hi,
> 
> >
> 
> > I am working on an HTML5 game and eager to use clojurescript, however, the 
> > library I am planning to use heavily relies on OOP principles.
> 
> >
> 
> > Are there good examples on wrappers around existing javascript libraries?
> 
> >
> 
> > Thanks!
> 
> >
> 
> > --
> 
> > Note that posts from new members are moderated - please be patient with 
> > your first post.
> 
> > ---
> 
> > You received this message because you are subscribed to the Google Groups 
> > "ClojureScript" group.
> 
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to [email protected].
> 
> > To post to this group, send email to [email protected].
> 
> > Visit this group at http://groups.google.com/group/clojurescript.
> 
> 
> 
> --
> 
> Note that posts from new members are moderated - please be patient with your 
> first post.
> 
> ---
> 
> You received this message because you are subscribed to the Google Groups 
> "ClojureScript" group.
> 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> 
> To post to this group, send email to [email protected].
> 
> Visit this group at http://groups.google.com/group/clojurescript.

Yes, that's exactly my concern.
Is your project public? I'd like to take a look for some inspiration.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to