Closed devn closed 10 years ago
Into it.
I'd prefer to add defrpc
but also keep defn
(possibly adding ^:deprecated
metadata to it) so as not to break any existing apps, but if you feel strongly about it I don't object. I'm just a little apprehensive about making breaking changes when we have so little useful documentation. It seems like it could cause hassles for people.
In user code they could then have the choice to do either
(ns my-ns
(:refer-clojure :exclude [defn])
(:require [tailrecursion.castra :refer [defn]]))
or
(ns my.ns
(:require [tailrecursion.castra :refer [defrpc]]))
as they prefer.
I agree with @micha, ^:deprecated
is a better way for users. But the sooner we add defrpc
the better.
Thoughts?