***X-Scale` is now known as X-Scale
***X-Scale` is now known as X-Scale
<lloda>nested defines are easier to manipulate than let. You can move stuff in and out of a scope by simple c&p <lloda>i've been using them a lot recently <lloda>it's very handy when you're trying stuff and you aren't sure yet where things should go <amirouche>it also useful to group stuff together, something that is done with OOP classes very often e.g. private methods, when a procedure is used only inside another procedure, it leads to extra cognitive load to define it at a top-level, or worse in a helper.scm library, instead, when a procedure is useful only inside another procedure, just nest it! <civodul>because i'm a nice person, i haven't remove 2.0 support in GnuTLS <civodul>but now i find myself writing things like SCM_TYP16 (port) <civodul>and i can feel how bright the present is <civodul>comrades, i submitted changes to GnuTLS that should allow us to get rid of the port wrapper in the 'tls-wrap' procedure in (web client): <civodul>in particular, that should let us use session record ports in a non-blocking context with Fibers (though i haven't tested that yet) ***Guest927 is now known as chrislck
<chrislck>nested defines are also better for lambdas... having numerous (let ((proc1 (lambda (arg) ...)) (proc2 (lambda (args) ...))) is tedious <unmatched-paren>chrislck: yeah. i don't really understand why (let (((func param1 param2) ...)) ...) isn't allowed <daviid>chrislck: those are equally bad, imo, in terms of programming style, they are 'the same thing' ... i'll answer earlir comments later, i just wanted to quickly make this point ... happy hacking all, bbl <gabber>xiews: WDYM? i can see relevant bingings with ,b within the module, but the output ("#<variable 7f29657b3f40 value: #<procedure foo-func-name ()>>") lacks information on /where/ this variable was bound/imported from <dsmith-work>Doh! I *did* read it. But must have missed or forgotten that part! <dsmith-work>The other day I was walking around looking for my rain jacket, and it was on my arm...