October 28, 2015

F Sharp vs Clojure Toy Problem Shootout

As a continuation of my forays in interesting and less industrially-oriented programming languages, I decided to compare F Sharp against Clojure for a relatively simple programming problem, and to compare how the two felt in terms of programming ease, friendliness, and how they each viewed the problem. The Problem The problem is a relatively one from Reddit’s “Daily Programmer” subreddit, called JSON Treasure Hunt: given a random, unstructured JSON object, traverse the object looking for a specific terminal value (in this case, a string “dailyprogrammer”). ...

© Jeff Rabinowitz, 2023