Skip to main content
4 events
when toggle format what by license comment
Feb 14, 2015 at 22:53 vote accept Remi.b
Feb 14, 2015 at 22:46 comment added ciao @Remi.b: Yes, pass them all - makes things more readable (e.g., my first glance, seeing combin had me asking "what's this? Some other function?..."). Also makes things more maintainable. Fine to ignore for quick&dirty (I do), but if you're going to be using it for more than throw-away, better to do so (not to mention, makes reading the question easier ;-) ).
Feb 14, 2015 at 22:25 comment added Remi.b Thank you! When you say It is a seriously bad idea to have the internals of a function depend on external symbols does it mean that I should just pass the internal symbols as arguments to the pdf, that is push pdf to play with local variable rather than global variable? To the exception of combn, I don't have any constant (independent of s) in my pdf that I could take out of the function.
Feb 14, 2015 at 10:35 history answered ciao CC BY-SA 3.0