This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-11
Channels
- # announcements (16)
- # aws (4)
- # babashka (30)
- # beginners (58)
- # bristol-clojurians (4)
- # cider (9)
- # clj-kondo (2)
- # clojure (229)
- # clojure-europe (25)
- # clojure-gamedev (1)
- # clojure-italy (4)
- # clojure-nl (13)
- # clojure-sanfrancisco (1)
- # clojure-uk (97)
- # clojured (7)
- # clojurescript (27)
- # code-reviews (2)
- # cursive (30)
- # data-science (39)
- # datomic (14)
- # emacs (12)
- # events (2)
- # fulcro (6)
- # graalvm (8)
- # graphql (14)
- # jackdaw (10)
- # jobs (2)
- # lambdaisland (5)
- # malli (4)
- # off-topic (28)
- # protorepl (13)
- # quil (7)
- # re-frame (2)
- # reagent (1)
- # reitit (3)
- # remote-jobs (5)
- # ring-swagger (1)
- # shadow-cljs (72)
- # sql (4)
- # tools-deps (182)
- # uncomplicate (4)
- # vim (9)
- # xtdb (19)
so... I have a set of IDs that are ones that I want to exclude. Is it better to use them as a set and compare them to the ids I want to get rid of, or map over all the records, adding a flag and then excluding records where the flag is true?
I suppose it depends a bit on what I want to do with the data later and the map and assoc a new key with a value gives more flexibility
Is there a chance the records will get used in the future, will their state change?
hmm... I think I will want to be able to do analysis on the ones that I flag, so I probably should, but YAGNI
Write two functions. Call one natalie
and the other imbruglia
and compare the two then.
I’ve watched so many episodes of House that I forgot how annoying and sarcastic I was. 🙂
you know it this is your role here @jasonbell... to provide the entertainment on this other while boring day.