Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: "Marius" Newsgroups: alt.comp.lang.borland-delphi,comp.lang.c,comp.lang.java.programmer Subject: Re: Oracle/Google demonstrate human beings cannot write 10 lines of code without making a mistake ;) Date: Thu, 17 May 2012 22:16:40 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 28 Message-ID: References: NNTP-Posting-Host: d7zd1EIDvzCR7nS73YxITg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: XanaNews (x86; Portable ISpell)/1.19.1.341 X-Notice: Filtered by postfilter v. 0.8.2 X-Ref: nntp.aioe.org ~XNS:000002CC Xref: csiph.com comp.lang.c:20951 comp.lang.java.programmer:14603 >Though 10 lines seems really low (unless you're using that weird C >dialect ), 1 error each 20 to 50 sounds about right for experienced >programmers. >" > >I will have to disagree with you on the number of lines that an >average human being can write flawlessly. You can, i don't think we will ever agree on the approx. amount of errors made by an average programmer and experienced programmer. (i deliberately wrote experienced programmer) >One could consider writing and reasoning about programming lines as >an exercise in thinking ahead like "chess". > >My hypothesis simply comes down to this: an average human being can >at most think 10 steps ahead in a game of chess ;) > >If you could truly think ahead in steps of 20 or 50 then that would >make you a really strong chess player ! ;) I doubt it, more likely >you are over estimating yourself ;) :) Chess is kind of a weird comparison but i do agree that a seasoned programmer will think ahead like 2 units, 5 classes etc. Programmers think more ahead in terms of algorithmes, processes etc and the details of those dont need to be crystal clear (unlike chess). ;)