# One type per file: helpful or harmful?

**URL:** <https://forums.swift.org/t/one-type-per-file-helpful-or-harmful/70524>\
**Category:** Using Swift\
**Tags:** architecture\
**Created:** [March 8, 2024, 10:54pm UTC](https://forums.swift.org/t/one-type-per-file-helpful-or-harmful/70524 "2024-03-08T22:54:35Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![PatrickStar](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/patrickstar/32/20785_2.png) [@PatrickStar](https://forums.swift.org/u/PatrickStar)\
**Post date:** [March 22, 2024, 4:01pm UTC](https://forums.swift.org/t/one-type-per-file-helpful-or-harmful/70524/21 "2024-03-22T16:01:21Z")

</div>

My experience is that types split across files increases build time compared to types in the same file. Not enough for it to determine which choice I make however.

[Previous page](https://forums.swift.org/t/one-type-per-file-helpful-or-harmful/70524.md?page=1)
