Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 3965

Clojure is a general-purpose language supporting interactive development that encourages a functional programming style, and simplifies multithreaded programming.

14 votes

What are the functional equivalents of imperative break statements and other loop checks?

I really like Jules' answer, but I wanted to additionally point out something people often miss about lazy functional programming, which is that everything doesn't have to be "inside the loop." For e …
Karl Bielefeldt's user avatar
10 votes

"Use map instead of class to represent data" -Rich Hickey

That's an excellent talk by someone who really knows what he's talking about. I recommend readers watch the entire thing. It's only 36 minutes long. One of his main points is that simplicity opens …
Karl Bielefeldt's user avatar
22 votes
Accepted

Pattern matching in Clojure vs Scala

Using multimethods, Clojure lets you do it based on any arbitrary function. That's a pretty powerful concept. … Trying to write Scala-like code in Clojure is going to have its difficulties, and vice versa. …
Karl Bielefeldt's user avatar
47 votes
Accepted

Why is "tight coupling between functions and data" bad?

In theory, loose function-data coupling makes it easier to add more functions to work on the same data. The down side is it makes it more difficult to change the data structure itself, which is why i …
Karl Bielefeldt's user avatar
12 votes

Could we build a functional computer?

They do make computers like that. It's called an FPGA. Of course, FPGAs support both sequential and combinational logic, but there's nothing preventing you from just using the combinational portion …
Karl Bielefeldt's user avatar