# Question about headers in juce

**URL:** <https://forum.juce.com/t/question-about-headers-in-juce/12546>\
**Category:** General JUCE discussion\
**Created:** [March 13, 2014, 3:35pm UTC](https://forum.juce.com/t/question-about-headers-in-juce/12546 "2014-03-13T15:35:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joanpuigsanz](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/joanpuigsanz/32/183_2.png) [@joanpuigsanz](https://forum.juce.com/u/joanpuigsanz)\
**Post date:** [March 13, 2014, 3:35pm UTC](https://forum.juce.com/t/question-about-headers-in-juce/12546/1 "2014-03-13T15:35:31Z")

</div>

Hi there,

I saw that some classes contains all the code in the headers, others do that in the .cpp and others do that partially in the header and in the cpp. I'm wondering if there is any specifyc reason for that.

Thanks!

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [March 13, 2014, 8:29pm UTC](https://forum.juce.com/t/question-about-headers-in-juce/12546/2 "2014-03-13T20:29:07Z")

</div>

You mean headers and CPP files?

Of course there's a reason for that:&nbsp;http://buffered.io/posts/the-magic-of-unity-builds/
