https://speakerdeck.com/a_matsuda/the-recipe-for-the-worlds-largest-rails-monolith
要点:
Cookpad 的一位开发者 sorah 14 岁已经是 ruby committer 了,上个月才满 18 岁。。。。
“cookpad 的一位开发者 sorah 14 岁已经是 ruby committer 了,上个月才满 18 岁。。。。” 好羡慕…… 想起昨天看的《超能陆战队》里的小宏……
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers |322602 |234269 | 1127 | 10704 | 9 | 19 |
| Helpers | 14262 | 10353 | 0 | 460 | 0 | 20 |
| Models | 89233 | 64359 | 357 | 3806 | 10 | 14 |
| Libraries | 51388 | 36484 | 282 | 2470 | 8 | 12 |
| Components | 0 | 0 | 0 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total |477485 |345465 | 1766 | 17440 | 9 | 17 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 345465 Test LOC: 0 Code to Test Ratio: 1:0.0
上不了图
#17 楼 @small_fish__ 任性不行啊,一个 10 美元,一个月才 3000 美金,可能有一两个稍贵点,5000 美金到顶了。
人家还有 50 个程序员呢,哪个程序员不比服务器贵。
#20 楼 @ywjno http://www.inside.com.tw/2012/04/14/cookpad-recruiting 看样子只用了 Mysql 和 Memcached Keep it simple
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 36217 | 26895 | 252 | 2774 | 11 | 7 |
| Helpers | 10182 | 8085 | 17 | 664 | 39 | 10 |
| Models | 38918 | 27998 | 561 | 1663 | 2 | 14 |
| Mailers | 0 | 0 | 0 | 0 | 0 | 0 |
| Javascripts | 19388 | 12690 | 0 | 1495 | 0 | 6 |
| Libraries | 37712 | 20500 | 6 | 1453 | 242 | 12 |
| Model specs | 20 | 16 | 0 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 142437 | 96184 | 836 | 8049 | 9 | 9 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 96168 Test LOC: 16 Code to Test Ratio: 1:0.0
公司的一个项目,数值也是醉了