 Your new post is loading...
 Your new post is loading...
|
Scooped by
Srdjan Strbanovic
December 23, 2014 3:21 PM
|
In the previous installment of Categories for Programmers, Categories Great and Small, I gave a few examples of simple categories. In this installment we'll work through a more advanced example. If...
|
Scooped by
Srdjan Strbanovic
December 22, 2014 1:07 PM
|
|
Scooped by
Srdjan Strbanovic
December 21, 2014 9:34 PM
|
I first spotted the idea of Formlets when checking out WebSharper . As I am not a "web guy" I can't judge WebSharper as a whole but the Formlet idea blew my mind! The purpose of this post is to rai...
|
Scooped by
Srdjan Strbanovic
December 21, 2014 9:33 PM
|
This got me thinking I should explain why my primary .NET language is now F# (coming from C#). I have been programming C# since 2002 and I think I can say I know most about what there's to know abo...
|
Scooped by
Srdjan Strbanovic
December 20, 2014 11:43 AM
|
|
Scooped by
Srdjan Strbanovic
December 20, 2014 10:37 AM
|
Zbigniew Siciarz - Python and Django programmer, webdeveloper, open standards enthusiast. I make the internetz.
|
Scooped by
Srdjan Strbanovic
December 19, 2014 6:44 PM
|
The Pragmatic Studio: Top developer training from the folks who wrote the books
|
Scooped by
Srdjan Strbanovic
December 19, 2014 10:49 AM
|
|
Scooped by
Srdjan Strbanovic
December 17, 2014 4:54 PM
|
Composable application architecture with reasonably priced monads
|
Scooped by
Srdjan Strbanovic
December 17, 2014 3:11 PM
|
|
Scooped by
Srdjan Strbanovic
December 17, 2014 2:28 PM
|
|
Scooped by
Srdjan Strbanovic
December 17, 2014 12:21 PM
|
|
Scooped by
Srdjan Strbanovic
December 16, 2014 9:43 AM
|
|
|
Scooped by
Srdjan Strbanovic
December 23, 2014 11:12 AM
|
|
Scooped by
Srdjan Strbanovic
December 21, 2014 9:35 PM
|
I have compared async/await in C# to async workflows in F# in my previous two posts (here and here). To cap it off I will build a new async workflow in F#. Let's call it Async2. The primary reason ...
|
Scooped by
Srdjan Strbanovic
December 21, 2014 9:34 PM
|
One of the most valuable ways to test software is to run actual user scenarios. If you are library developer you are lucky as unit tests are scenario tests. However when the scenarios involves for ...
|
Scooped by
Srdjan Strbanovic
December 20, 2014 11:44 AM
|
This is "Scalaz Presentation - Nick Partridge" by Jonathan Merritt on Vimeo, the home for high quality videos and the people who love them.
|
Scooped by
Srdjan Strbanovic
December 20, 2014 11:21 AM
|
I’m really supposed to be working on my serialization series, but I just saw a neat new library that was open sourced by Yahoo a couple days …
|
Scooped by
Srdjan Strbanovic
December 19, 2014 7:08 PM
|
or, How We Lost Grandma to Dysentary but Gained Stateless UI We had a blast at Prismatic HQ last week, with a lineup of talks exploring the leading edge of functional programming on the frontend: Prismatic's own Logan Linn kicked...
|
Scooped by
Srdjan Strbanovic
December 19, 2014 11:52 AM
|
This article is inspired by an MVP summit talk about common pitfalls in the C# asynchronous programming model. I look at a number of easy to make mistakes when writing asynchronous code in C# and demonstrate that most of them would not easily happen when using F#.
|
Scooped by
Srdjan Strbanovic
December 19, 2014 9:47 AM
|
I keep looking for a new OCaml project. It hits a lot of sweet spots that are not matched by other languages: idiomatic functional programming, static types, powerful compiler, [syntax extensions](http://caml.inria.fr/pub/old_caml_site/camlp4/index.html), and the language's mindset allows for stateful solutions to problems when these are the most natural. Throughout this post I will use the running example of evaluating an abstract syntax tree for an imperative language. Once a file has been lexed and parsed, the structure that you are left with is an *abstract syntax tree*, an internal data structure that encompasses what your program semantically means. Evaluating an imperative language like JavaScript, Java, C, C++, etc involves separating out: * *expressions* that evaluate to a value: `1 + 1`, `ptr->field`. * *statements* that change state or transfer control: `a = 1`, `if (!ptr) { log_error(); }`. Statements contain expressions: right-hand-side of the assignment `a = 1` is a integer literal. JavaScript contains first class functions: ```javascript var a = function (i) { // anonymous function return i * 2; } ``` The enclosing `function` is an expression (a value that can be assigned and passed as an argument to another function). The body of a function is a set...
|
Scooped by
Srdjan Strbanovic
December 17, 2014 4:03 PM
|
My recent article on functional composition in Ramda breezed over an important topic. In order to do the sort of composition we would like with Ramda functions, we need these functions to be curried. Curry? Like the spicy food? What?...
|
Scooped by
Srdjan Strbanovic
December 17, 2014 3:09 PM
|
|
Scooped by
Srdjan Strbanovic
December 17, 2014 1:50 PM
|
Andrew D’Amelio & Yuri Takhteyev explain how the Ramda library translates functional programming concepts into JavaScript.
|
Scooped by
Srdjan Strbanovic
December 16, 2014 3:50 PM
|
In the previous installment of Category Theory for Programmers we talked about the category of types and functions. If you're new to the series, here's the link to the initial post. You can get rea...
|