# Split big functions?

**URL:** <https://forum.kirupa.com/t/split-big-functions/319722>\
**Category:** flash\
**Created:** [March 2, 2011, 4:52pm UTC](https://forum.kirupa.com/t/split-big-functions/319722 "2011-03-02T16:52:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katumi](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Katumi](https://forum.kirupa.com/u/Katumi)\
**Post date:** [March 2, 2011, 4:52pm UTC](https://forum.kirupa.com/t/split-big-functions/319722/1 "2011-03-02T16:52:47Z")

</div>

Is there a limit for how many statements I should put in the same function? I have a function that takes care of all of the code for a movieclip and it’s up in 16 “if statements” allready, should i split it up in more functions or not? I’m a novice, and never coded anything big so it might not even be that many, i don’t know 🙂
