freenode/lisp - IRC Chatlog
Search
7:10:20
lukego
I was a good boy and write some unit tests but I'm already deleting them all because they are not worth the effort to maintain.
8:07:43
splittist
lukego: If I'm writing to a spec, or in the last throws of writing (or, at least, working out) a spec, then I find unit(?) tests to be useful. But if I'm 'exploring the design space' (i.e. coding without knowing what I'm doing) then I do find them a boat anchor rather than a sanity check.
8:12:16
lukego
splittist: I think that in this case I wrote some really basic unit tests as scaffolding to get some low-level routines working for the first time. but now I don't need it much because I've written other code that exercises these routines pretty thoroughly and I can just run that to get test coverage.
8:13:12
lukego
so it seems like my test suite will just try to exercise lots of relevant code paths and then I'll need to have enough "design by contract" style instrumentation to be able to catch and debug errors when/where they occur
8:16:25
lukego
(my case might also be special in that these are routines for importing data in a specific file format and it only takes three and a half seconds to import all such data that actually exists... so I don't really need to be prepared for inputs that aren't included in the test suite)
12:59:07
attila_lendvai
is quicklisp automatically hooking into ASDF by default to download any missing systems? if not, is there a simple way to enable that?
13:09:55
attila_lendvai
shka_, i'm changing code (hu.dwim.asdf) and i don't want to regress it, and it's not trivial for me to test it right now.
13:10:49
attila_lendvai
Xach, thank you for clarifying it! do you have any plans of adding/supporting a find system hook ala the discussion under one of the :defsystem-depends-on issue?
13:11:50
attila_lendvai
Xach, the reson is that sometimes it's much more convenient to sideffect the image at one point, and just fire the macinery, as opposed to messing at random different places to (optionally) use quickload when available...
13:13:30
attila_lendvai
Xach, i've written several build.sh scripts now that uses ql (thanks a whole lot BTW!). some of them optionally using ql when available, otherwise relying on the user's config. some others override the user's config and do (quasi-)reproducible builds.
13:13:43
phoe
so makunbound for symbols, fmakunbound for functions, setf find-class nil for classes, ...
13:21:06
phoe
pp: #lisp is a Common Lisp channel, you could possibly try ##lisp for a channel for all dialects