# Why so little code comment in Discourse Codebase? (Github)

**URL:** <https://meta.discourse.org/t/why-so-little-code-comment-in-discourse-codebase-github/85710>\
**Category:** Development\
**Created:** [April 19, 2018, 10:37am UTC](https://meta.discourse.org/t/why-so-little-code-comment-in-discourse-codebase-github/85710 "2018-04-19T10:37:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![1c7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/1c7/32/94822_2.png) [@1c7](https://meta.discourse.org/u/1c7)\
**Post date:** [April 19, 2018, 10:46am UTC](https://meta.discourse.org/t/why-so-little-code-comment-in-discourse-codebase-github/85710/4 "2018-04-19T10:46:47Z")

</div>

I hope you guys(Discourse core team) can write few post about the  
**big picture view** on Discourse codebase..  
(not like “why chose Ember.js” I already read that one. deeper than that)

like:

1. Why this folder structure(Ruby on Rails & Ember.js put together)  
I guess if you guys make Discourse from scratch in 2018,  
would decide separated Rails&Ember into 2 repo?  
or different folder structure

2. What’s the different between GlobalSetting & SiteSetting?

3. What’s the core model of Discourse? (Users&Post&Topic)?

4. why preload\_script is needed? example `<%= preload_script 'break_string' %>`  
preload\_script return

```plaintext
# ... some other code
<link rel='preload' href='#{path}' as='script'/>
<script src='#{path}'></script>".html_safe

```

so it’s for SEO or some other reason?

1. and few other question I couldn’t recall right now

---

_[View the full topic](https://meta.discourse.org/t/why-so-little-code-comment-in-discourse-codebase-github/85710)._
