Languages

  • submit to reddit

Python: Reading a JSON file

I’ve been playing around with some code to spin up AWS instances using Fabric and Boto and one thing that I wanted to do was define a...

0 replies - 2071 views - 04/10/13 by Mark Needham in Articles

JavaScript Namespace and Restricted Access

I began developing with JavaScript more than 10 years ago in order to handle DOM updates on the client-side. At this time, this usage was called DHTML and...

0 replies - 2342 views - 04/09/13 by Nicolas Frankel in Articles

DZone Links You Don't Want To Miss (4/8)

John Resig on asm.js: The JavaScript Compile Target If you didn’t get the message from our link roundup a few weeks ago when jQuery creator John Resig...

0 replies - 3330 views - 04/07/13 by Mitch Pronschinske in Articles

Erlang: Noob to Production in 2 Months

James learned Erlang because he wanted to make some minor customizations to ejabberd. Before he knew it, he was putting thousands of lines of his own code in...

0 replies - 31222 views - 04/04/13 by Mitch Pronschinske in Articles

Programming a State Machine

My attempts at game programming usually turn into impenetrable spaghetti code: “If the player walks through this door, then have him talk to the princess,...

1 replies - 5385 views - 04/02/13 by Kristina Chodorow in Articles

Promises and Futures in Clojure

Clojure, being designed for concurrency is a natural fit for our Back to the Future series. Moreover futures are supported out-of-the-box in Clojure. Last but...

0 replies - 3843 views - 04/01/13 by Tomasz Nurkiewicz in Articles

Clojure: Expectations Ignore A Variable Number Of Args In An Interaction Test

Over the past year I've written the same test a few times.  (expect (interaction (my-fn anything) :never) (a-fn-that-shouldnt-call-my-fn))This test...

0 replies - 1650 views - 03/29/13 by Jay Fields in Articles

Links You Don't Want To Miss (3/27)

How Many Hoops Does a Job Candidate Have to Jump Through? Here’s an interesting infographic for job seekers with notes to the recruiters to jump...

0 replies - 34297 views - 03/26/13 by Mitch Pronschinske in Articles

From Stateful Iteration in Python to Stateless Clojure

I have a piece of Python code that leverages a stateful object and was wondering how to reimplement it in the inherently stateless Clojure, without...

1 replies - 2486 views - 03/25/13 by Jakub Holý in Articles

Upgrading Grails from 2.0 to 2.2

In preparation for my Grails vs. Play Smackdown at Devoxx France next week, I recently upgraded my Grails version of Happy Trails from Grails 2.0.3 to Grails...

0 replies - 1311 views - 03/25/13 by Matt Raible in Articles

DZone Links You Don't Want To Miss (2013/3/22)

How Spotify Uses Python Following the example of the Netflix blog, the Spotify developer blog also posted a ‘how we use Python’ article.  Both were...

0 replies - 1967 views - 03/22/13 by Eric Genesky in Articles

There Are Only 2 Roles of Code

All code can be classified into two distinct roles; code that does work (algorithms) and code that coordinates work (coordinators). The real complexity that...

5 replies - 25227 views - 03/21/13 by John Sonmez in Articles

Grails Goodness: Use Constructor Argument Based Dependency Injection with resources.groovy

We can define extra Spring beans for our Grails application in grails-app/conf/spring/resources.groovy using a DSL. For example we want to use third-party...

0 replies - 2594 views - 03/18/13 by Hubert Klein Ikkink in Articles

DZone Links You Don't Want To Miss (2013/3/18)

11 Creative Resumes that Went Viral  From inspiring websites to nutritional facts, here are some interesting ways professionals (and non-professionals)...

0 replies - 2748 views - 03/18/13 by Eric Genesky in Articles

Challenges Scala Must Overcome to Cross the Chasm to the Mainstream

Scala is a wonderful language that I've come to love. Unfortunately, in the last 6 months I've been guilty of being overtly critical at times. My...

4 replies - 4200 views - 03/18/13 by Wille Faler in Articles