3 ms·
Docker is fairly large, cloc output: ---------------------------------------------------------- Language files blank comment cod
by kyrra 12y ago
Docker is fairly large, cloc output:
----------------------------------------------------------
Language files blank comment code
----------------------------------------------------------
Go 750 14601 9901 115877
CSS 8 107 194 10010
HTML 11 362 21 3594
Bourne Shell 28 391 323 2044
Bourne Again Shell 25 249 185 1475
Javascript 12 111 48 756
Python 1 23 24 192
C 1 20 19 179
YAML 4 25 13 162
XML 1 6 2 60
make 2 27 5 60
Perl 1 11 37 29
vim script 2 8 3 13
----------------------------------------------------------
SUM: 846 15941 10775 134451
----------------------------------------------------------
And I believe there are a number of projects internally within Google but they tend not to talk about internal product technologies (at least at how large they are).
- threeseed 12y agoNo Docker is not fairly large. It's tiny. 1M - 10M LOC is the size of most of the codebases I've worked on. Most people simply don't have an understanding of enterprise applications. The majority of the apps are single codebase, Servlet/Spring type monstrosities. They are 10+ years old and have had hundreds of contract developers who come in, add a few new features and then go onto the next contract. And my point is that I am yet to see what Go would be like in these situations.
- tptacek 12y agoIt seems a little unfair to ding Golang for not providing evidence of something Golang was designed to avoid. "Where's all the boilerplate? Where are all the 10 layers of XML mapping? What would an AbstractStrategyFactory even look like?"
- pjmlp 12y agoRest assured, if Go manages to become a success in the enterprise you will get them. It happened to every language without exception.
- mlvljr 12y agoBut will it happen to one without exceptions, as well?? :)
- placeybordeaux 12y agoPanic/Recover will be used as expections.
- ayrx 12y agoIf "enterprise applications" mean over-architectured monstrosities filled with boilerplate code, a hundred levels of indirection and horrible XML configuration files then thank god Go doesn't encourage that.