freenode/lisp - IRC Chatlog
Search
20:13:39
copec
Is there a standard name for an initialization function that people like to group everything under for some package?
20:26:58
copec
I read in S-exp from a config file into clos objects, and have a function that does it
20:28:26
copec
I could just (function-name) under a commented init section, but I was wondering if there was a defacto standard, like to make an (init) function or something
20:36:02
Bike
it might mean a closure with state that returns a new value from an iteration every time you call it
20:44:12
Bike
i don't know? the documentation of whatever system you're getting this thing from, probably?
22:43:04
fiddlerwoaroof
flip214: maybe I should contact him directly, I'd like to pull things like author/title/etc.
22:43:39
fiddlerwoaroof
The last time I tried, I also ran into issues with PDF spec versions, I think
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.