Friday Picks 040

Read more →

Friday Picks 017

Read more →

Friday Picks 002

Read more →

UIx — Experimental ClojureScript Wrapper for Modern React.js

Read more →

Friday Picks 001

Read more →

Truthy and Falsy Values in JavaScript, Python and Clojure/ClojureScript

Here are all falsy values: JavaScript Python 3 Clojure/ClojureScript Falsy false False false null None nil NaN undefined 0 (zero) 0 0.0 0.0 "" (empty string) "" (empty string) [] (empty list) () (empty tuple) {} (empty dict) set() (empty set) b’’ (empty byte) Everything else is truthy.
Read more →

How to Build a Markdown Preview App With Reagent

Why ClojureScript? With React, you build small components and combine them. You design from data and then flow it through functions (and React classes). You start with the programming logic. You then add your UI with HTML-like syntax (JSX). I enjoy the data-centric approach. It also powers the core of Clojure and ClojureScript. I hate Javascript’s verbose syntax. Don’t get me started on the object model and the pitfalls of this.
Read more →

Tutorial: Clojurescript App With Reagent For Beginners, Part 2

This is part 2 of my Clojurescript Reagent Tutorial. In part 1 we created a simple random quote app that displays quotes from the TV-series “Breaking Bad”. Here is the live demo: Breaking Bad Quotes. And here is the Github Repo, so you can see the whole code (minus the sensitive login details for Firebase): Github. Now it’s time to deploy it. We will use Google Firebase for that, just to learn on how to do it.
Read more →

Tutorial: Clojurescript App With Reagent For Beginners, Part 1

Learning to code takes practice and building projects. So, here is how to build a simple “Random Quote Machine” with Clojurescript and Reagent. Hopefully, you’ll get a sense on how Clojurescript and Reagent work. Here is the live demo: Breaking Bad Quotes. And here is the Github Repo, so you can see the whole code: Github. The app displays a quote from the “Breaking Bad” TV series with its author. You can click on a button to get a new quote.
Read more →