Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.misc > #949

Re: Learning to code by reading code (was: The way to read STL source code)

From "Bo Persson" <bop@gmb.dk>
Newsgroups comp.lang.misc, comp.lang.c++
Subject Re: Learning to code by reading code (was: The way to read STL source code)
Date 2012-02-19 16:10 +0100
Message-ID <9qchntFbrU1@mid.individual.net> (permalink)
References (2 earlier) <39812a37-6724-467d-894b-1be9f303959b@o4g2000pbc.googlegroups.com> <4f3e48ba$0$3101$7b1e8fa0@news.nbl.fi> <20416684.591.1329526538907.JavaMail.geo-discussion-forums@pbjr9> <reading-20120218195201@ram.dialup.fu-berlin.de> <bff0a2c1-9025-4eb3-bcc4-2558a10fd682@gr6g2000vbb.googlegroups.com>

Cross-posted to 2 groups.

Show all headers | View raw


Ebenezer wrote:
> On Feb 18, 12:56 pm, r...@zedat.fu-berlin.de (Stefan Ram) wrote:
>> Newsgroups: comp.lang.c++,comp.lang.misc
>> Followup-To: comp.lang.misc
>>
>> Stanley Rice <hecong...@gmail.com> writes:
>>> But if you said that reading others' code is not the way to
>>> improve your programming skills, I have no ideas how to improve
>>> it. Reading the
>>
>> Reading others' code /is/ the way to improve the skills:
>>
>> - Of course, one should select code written by masters,
>> not code written by arbitrary authors. For example,
>> in the realm of C++, one might read boost source code.
>
> I suggest "chewing the meat and spitting the bones" with Boost.
> Some of it is great, but not all of it.
>
>

Yes, some libaries are so full of configuration macros and workarounds 
for ancient compilers that you will have a hard time even finding some 
code.

Been there, done that.


Bo Persson

Back to comp.lang.misc | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Learning to code by reading code (was: The way to read STL source code) Ebenezer <woodbrian77@gmail.com> - 2012-02-18 20:02 -0800
  Re: Learning to code by reading code (was: The way to read STL source code) "Bo Persson" <bop@gmb.dk> - 2012-02-19 16:10 +0100

csiph-web