I’m a designer and today I shipped code to prod
I shipped code to production as a designer. Some unexpected things happened when I coded with Claude and I learned why scope creep is so prevalent. In the end it made me think about new design process ideas I want to try implementing.
Read this essay → product-of-fib.clj clojure
1(ns product-of-fib.core)
2
3(defn fib-prod-recurse [a b prod]
4 (def product (* a (bigint b)))
5 (if (= product prod)
6 [a b true]
7 (if (> product prod)
8 [a b false]
9 (fib-prod-recurse b (+ a (bigint b)) prod))))
10
11(defn product-fib [prod]
12 (fib-prod-recurse 0 1 prod))
2
3(defn fib-prod-recurse [a b prod]
4 (def product (* a (bigint b)))
5 (if (= product prod)
6 [a b true]
7 (if (> product prod)
8 [a b false]
9 (fib-prod-recurse b (+ a (bigint b)) prod))))
10
11(defn product-fib [prod]
12 (fib-prod-recurse 0 1 prod))
Thinking through your fingers — a recursive Fibonacci product in Clojure.