News for hackers. Stuff that matters.

logan-campbell

Re:Erik Naggum's Perl Rant on Monday March 10, 2014 @09:49PM (#7376936)
I think you've introduced a new type of fallacy into the world.
Re:Erik Naggum's Perl Rant on Monday March 10, 2014 @09:48PM (#7376934)
Brilliant! Can you please share the code? I'd love to see it.
Re:Typed Clojure Game of Life on Thursday October 03, 2013 @11:02PM (#6493485)
Sweet.
Re:Typed Clojure Game of Life on Thursday October 03, 2013 @08:35PM (#6493063)
You're correct. Annotated was just too many characters to fit inside the columns I used for the thumbnail view.

I'm not so proficient a developer that I could write any amount of Haskell code without being acutely aware of its statically typed nature.

Re:Typed Clojure Game of Life on Thursday October 03, 2013 @08:30PM (#6493051)
I don't actually identify as Gen Y (I had to look up the dates) or as a particularly distractible person. I just wanted a pithy way of saying that the protocol issue I hit wasn't necessarily an inherent issue, but rather that I chose not to deal with it.
Re:Typed Clojure Game of Life on Thursday October 03, 2013 @08:28PM (#6493043)
The code is up at https://github.com/logaan/typed-game-of-life and I'd be very happy to accept a pull request with a Java example. I've done a few side by side comparisons of Clojure / Scala / Java and the Java has always been several times larger than Cloure / Scala. In a couple of cases it was 20-30x larger.

Java 8 may indeed improve this situation. Does it also introduce higher order functions for working with collections?

Re:First look at Clojure.core.typed on Friday August 30, 2013 @09:15AM (#6301505)
Ooh god now I'm going to be self conscious about my typing. But seriously I was mainly just worried that Ambrose (the brains behind core.typed) might take it the wrong way. Many of the problems I had could've been avoided if I'd just taken my time and read the docs, and I don't mean for my failing to reflect poorly on his library. He took it like a champ though and released a patch fixing a few issues I hit the same night I posted.
Re:First look at Clojure.core.typed on Friday August 30, 2013 @09:11AM (#6301489)
I haven't tried it myself but based on the twitter chatter between @swannodette and @ambrosebs I believe so.
Re:First look at Clojure.core.typed on Friday August 30, 2013 @09:10AM (#6301487)
Fixed and pushed. Should appear on the site shortly. Thanks for the feedback. I'll send a pull request to the template author as well.