5 ms·
This depends entirely on the sort of code I'm writing. If it's throwaway code -- that is, stub functions for use while I'm writing and testing other code, and
by cperciva 19y ago
This depends entirely on the sort of code I'm writing.
If it's throwaway code -- that is, stub functions for use while I'm writing and testing other code, and which I know I'll replace before production use -- I can easily end up writing a thousand lines of code a week, or even more.
If I'm writing good, solid code -- that is, code which I expect to write once and then use for the next 20 years without ever making more than cosmetic changes to it -- I'll generally write about a thousand lines of code per month.
If I'm writing best-of-breed software -- that is, code which comes with a proof of correctness and at least a very strong argument for being the optimal solution (e.g., code which computes a roots-of-unity table in linear time with O(1) maximum error, and will thus never be surpassed by more than a constant factor) -- I'll typically write 100-200 lines of code AND a 5-10 page paper in a month. Of course, this last sort of code falls into the "yes, I would trust this to operate a nuclear power plant" category, which is a rather higher level than most applications require.
- zemaj 19y agoVery true. I can spend weeks researching and analysing the most import 100 lines in most of my apps. no one uses LOC any more - that article is from 1984! I'm pretty sure Gates would have a different answer if asked now.
- dpapathanasiou 19y agono one uses LOC any more I feel obligated to mention the classic LOC management story: http://folklore.org/StoryView.py?project=Macintosh&story=Negative_2000_Lines_Of_Code.txt http://folklore.org/StoryView.py?project=Macintosh&story...
- deleted 19y ago[deleted]
- create_account 19y agoWhat would -2000 get you if you used it in YC's application form?
- palish 19y ago$100,000 in funding.
- simpleenigma 19y agoWhile I'm a firm beleiver that LOC are not a good measure of anything anymore ... The YC as this question: "If you've already started working on it, how long have you been working and how many lines of code (if applicable) have you written?" I guess it's important in some places still .... :-)
- create_account 19y agoThey'd be better off asking: you much have you done, how many more weeks until you can release a prototype, etc.