Re: Frustrations so far

2016-09-04 Thread Didier
*1) Slow startup speed.* Everyone dislikes the slow startup speed. Though it's been argued that it should be known as the Clojure slow startup speed. Since even though the JVM is slower to start then say python, most of the slowness comes from the Clojure overhead. *I know this problem is

Re: Frustrations so far

2016-08-03 Thread Stuart Halloway
Hi Peter, The latest release of Datomic (0.9.5390) includes the addition of the Log API for memory-backed databases. https://groups.google.com/d/topic/datomic/QLdZ_WePR5A/discussion. Hope this and some of other items on this thread will combine to improve your experience with Clojure. Regards,

Re: Frustrations so far

2016-07-25 Thread Paul deGrandis
Similar to James' ring-anti-forgery message, as the maintainer of Pedestal, I'd also like to know if you had issues with Pedestal (specifically, on the Pedestal mailing list ). In general, I think most maintainers want to know about

Re: Frustrations so far

2016-07-23 Thread Mimmo Cosenza
One of the best and instructive post I have read in years. Thanks Timothy Mimmo > Il giorno 23 lug 2016, alle ore 22:26, Timothy Baldridge > ha scritto: > > Peter, > > I share your frustration, or at least I did at one point. If you dig back > about 6 years in this

Re: Frustrations so far

2016-07-23 Thread Timothy Baldridge
Peter, I share your frustration, or at least I did at one point. If you dig back about 6 years in this mailing list you will find an epic rant by me about OpenGL and Clojure. Looking back on what I thought at that time, I'll mention as perhaps they can help you not make the mistakes I did. 1) Be

Re: Frustrations so far

2016-07-23 Thread Colin Yates
Abstractions and dynamic/static typing are orthogonal. Static/dynamic is simply _when_ types are considered. Strong/weak typing is arguably more relevant and is about how narrowly type information is considered. I can't find an actual declaration but I consider Clojure is dynamic but strongly

Re: Frustrations so far

2016-07-23 Thread Ster Swade
thanks, wade > On Jul 23, 2016, at 6:57 AM, Colin Yates wrote: > > As James said it is correct, but maybe not intuitive. Intuitively we > think an integer isn't empty, but actually it is a non-sensical > question - Integers can no more be empty than they can be full. >

Re: Frustrations so far

2016-07-23 Thread 'Adrian A.' via Clojure
The point is that an 'Integer' > (abstraction) has no sense of 'emptiness' or 'fullness'. > > IMHO that might be true for a statically typed language, but in the case of a dynamic language like Clojure it makes perfect sense, and most users expect this behavior. -- You received this

Re: Frustrations so far

2016-07-23 Thread Colin Yates
As James said it is correct, but maybe not intuitive. Intuitively we think an integer isn't empty, but actually it is a non-sensical question - Integers can no more be empty than they can be full. I noticed that Clojure's use of abstractions, and sticking to those abstractions is far greater than

Re: Frustrations so far

2016-07-23 Thread mond
You are not alone - it's the number one frustration in the community https://www.reddit.com/r/Clojure/comments/433y02/state_of_clojure_2015_survey_results/ But also see the responses - maybe we will have some major improvements with 1.9. Spec looks like good infra to support those efforts for

Re: Frustrations so far

2016-07-22 Thread James Reeves
On 22 July 2016 at 16:42, Peter Romfeld wrote: > >> >>> Im frustrated with `empty?` throwing exceptions for Long and Keyword >>> >> >> What should happen? Asking whether an integer or keyword is "empty?" >> doesn't really make sense IMO, and if it doesn't make sense,

Re: Frustrations so far

2016-07-22 Thread Peter Romfeld
On Saturday, July 23, 2016 at 12:01:40 AM UTC+8, raould wrote: > > Unfortunately, dynamically typed most often means what you are > experiencing, as far as I know. Python, JavaScript, Scheme, Lua, etc. all > have something like NPE that can happen at any random time, it feels like, > no? >

Re: Frustrations so far

2016-07-22 Thread Peter Romfeld
NPE is just so painful! most exceptions are not that easy to debug, would be cool if it could say from where the problem was initiated.. (well because most of the time i forget to print the stacktrace with `print-stack-trace `) -- You received this message because you are subscribed to the

RE: Frustrations so far

2016-07-22 Thread Raoul Duke
Unfortunately, dynamically typed most often means what you are experiencing, as far as I know. Python, JavaScript, Scheme, Lua, etc. all have something like NPE that can happen at any random time, it feels like, no? -- You received this message because you are subscribed to the Google Groups

Re: Frustrations so far

2016-07-22 Thread Peter Romfeld
I dont wanna go into the problems we have with this "dynamic typesystem" where you would think it takes care of different types in different functions, but in the end you just get NullPointerExceptions and waste half a day figuring out from where it comes from -- You received this message

Re: Frustrations so far

2016-07-22 Thread Peter Romfeld
> > > >> Im frustrated with `empty?` throwing exceptions for Long and Keyword >> > > What should happen? Asking whether an integer or keyword is "empty?" > doesn't really make sense IMO, and if it doesn't make sense, it should > throw an exception. > well its a fn?... "?" ! i would only

Re: Frustrations so far

2016-07-20 Thread Alan Thompson
Hi Peter - I started the Tupelo library and related Tupelo-Datomic library in order to collect helper & convenience functions that I felt were missing (IMHO) from core Clojure. If you have any ideas to add or improve

Re: Frustrations so far

2016-07-20 Thread James Reeves
On 20 July 2016 at 13:49, Peter Romfeld wrote: > I really love clojure over all, it makes maintenance/collaboration of code > such a breeze. its easy to get new employees start to work on it even > without any previous clojure knowledge! > > I do hate the JVM startup

Frustrations so far

2016-07-20 Thread Peter Romfeld
I really love clojure over all, it makes maintenance/collaboration of code such a breeze. its easy to get new employees start to work on it even without any previous clojure knowledge! I do hate the JVM startup shit, i hate how you it takes forever to fetch deps on a aws medium instance (you