# Closures discussion

**URL:** <https://discourse.mc-stan.org/t/closures-discussion/14932>\
**Category:** Developers\
**Created:** [May 7, 2020, 1:02pm UTC](https://discourse.mc-stan.org/t/closures-discussion/14932 "2020-05-07T13:02:01Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![wds15](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/wds15/32/908_2.png) [@wds15](https://discourse.mc-stan.org/u/wds15)\
**Post date:** [June 5, 2020, 12:21pm UTC](https://discourse.mc-stan.org/t/closures-discussion/14932/11 "2020-06-05T12:21:15Z")

</div>

Very cool!

We have not decided if we make everything variadic yet. Though, the ode functions are being cast into that right noe by @bbbales2 and @charlesm93 wanted to attack the algebra\_solver.

… but if closures are indeed doable and are running with not a too high of a performance hit, then variadic is less needed, obviously. Or does it still make sense to have most things variadic and closures? Maybe for performance reasons?

We should discuss a bit more and reflect… though having everything variadic and closure won’t be wrong. Or is the thing that variadic things do not work with what you do here (it should as I understand)?

---

_[View the full topic](https://discourse.mc-stan.org/t/closures-discussion/14932)._
