[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

What percent of all open source code is comments/commented? Couldn't

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 17
Thread images: 4

File: anime question girl.jpg (50KB, 736x724px) Image search: [Google]
anime question girl.jpg
50KB, 736x724px
What percent of all open source code is comments/commented? Couldn't we save a tremendous amount of hard drive space by removing all the comments from code?
>>
Comments are discarded when compiled to binary. If someone has the source then chances are they're a dev and so the comments are useful to them.
>>
>>55201063
/thread
>>
>>55201030
You are retarded.
>>
File: Rin.png (331KB, 1590x2160px) Image search: [Google]
Rin.png
331KB, 1590x2160px
>>
>>55201063
About tree fiddy
>>
Stupid rinposter
>>
>>55201030
We would save a lot of space by converting 4 spaces to tabs.
>>
>>55201184
What the fuck did you just say?
>>
File: 12412345.png (165KB, 317x292px) Image search: [Google]
12412345.png
165KB, 317x292px
>>55201184
>>
>>55201196
When indenting code, some people use 4 spaces instead of a tab. 4 spaces is four characters whereas a tab is one character. Changing every usage of 4 spaces to 1 tab would save a lot of space.
>>
>>55201229
that would only save 3 bytes i will just delete an anime episode and save 10x that
>>
>>55201229
Source code size is negligible, and spaces ensure that the indentation will line up the same for everyone regardless of editor settings.
>>
File: 1448011769579.gif (2MB, 249x238px) Image search: [Google]
1448011769579.gif
2MB, 249x238px
>>55201184
>save space
>they both take up the same space
>>
>>55201274
Right. I'm not agreeing nor disagreeing with using tabs, just explaining why some think it is such a big deal. All things considered, source code files take up virtually no space when compared to the other shit needed to run a program, regardless of tabs vs. spaces, as they're simply text files.
>>
>>55201295
Tabs vs. spaces is a holy war I have no intention on weighing in on. Just explaining how some people see it.
>>
>>55201229
Yes, it would save half a GB for all source code ever written. 10MB after compression.
Thread posts: 17
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.