clojuredesign-podcast

neumann 2024-02-08T19:28:37.150309Z

Why does it take longer to gather information about an error than actually fix it? Can we do better than println debugging? In our latest episode, our downloads fail at random, but our dead program won't give us any answers. https://clojuredesign.club/episode/110-contextify/

🚀 2
neumann 2024-02-12T22:01:59.024779Z

@jumar Nifty! I didn't know Cider had a debugger--I'm not an Emacs user--but I 100% support terminal-based UIs. 😄 Thanks for sharing!

neumann 2024-02-12T22:03:22.949089Z

@jason.bullers Oh man! Tools being "helpful" has definitely gotten me a bunch of times too!

jumar 2024-02-12T22:31:54.027119Z

The debugger is pretty powerful and combined with inspector it's really nice to use: https://docs.cider.mx/cider/debugging/tracing.html You cannot jump up the callstack but you can drill down easily.

👍 1
neumann 2024-02-08T19:28:49.648949Z

How do you debug your Clojure code?

jumar 2024-02-09T03:41:06.880979Z

Some people in the community frown upon debuggers but I use cider debugger quite a lot with good results

👍 1
2024-02-09T14:12:33.815679Z

Not related to the actual question, but I too have a "friend" who once was working on writing a configuration definition at work. Our definitions have a "context" that's a dot separated path, like app.data.definition and in a folder with that name, we put the config definition file. Well, when you create a directory in intellij (at the time, it got better about this and considers source directories now), it tries to be helpful and treats dots as package structure (i.e. nested folders). It's also common to collapse empty packages in the project view, so nested directories look like a single dot separated directory. It took an embarrassingly long time for my "friend" to figure out why the config definition wasn't being discovered...

2024-02-09T23:02:13.898199Z

Portal with tap> is pretty cool

nate 2024-02-10T06:06:50.753829Z

Yes!! Portal is awesome!