Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #14764
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Ian Collins <ian-news@hotmail.com> |
| Newsgroups | comp.lang.c++ |
| Subject | Re: Is Perl written in C? |
| Date | Tue, 06 Mar 2012 13:35:25 +1300 |
| Lines | 44 |
| Message-ID | <9rl4eeFg0kU4@mid.individual.net> (permalink) |
| References | <jit924$bgq$1@dont-email.me> <XnsA00BA95DA7F19myfirstnameosapriee@216.196.109.131> <jitamf$jkn$1@dont-email.me> <cone.1330788195.705265.4061.1000@monster.email-scan.com> <jitsct$8o5$1@speranza.aioe.org> <373b29-t3j.ln1@wilbur.25thandClement.com> <jiv42n$8u9$1@news.albasani.net> <4f533c42$0$3068$7b1e8fa0@news.nbl.fi> <jj06fa$u8p$1@news.albasani.net> <25425852.104.1330937607179.JavaMail.geo-discussion-forums@vbne13> <jj2l09$6ro$1@news.albasani.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net aPjAye/FXjtpsfsRcMramQeYBz7XnIhUV2TkWPEsuGTU6RIszs |
| Cancel-Lock | sha1:sTAhv6a9j/fwStk4F5FuBj/McJE= |
| User-Agent | Mozilla/5.0 (X11; SunOS i86pc; rv:7.0.1) Gecko/20111228 Thunderbird/7.0.1 |
| In-Reply-To | <jj2l09$6ro$1@news.albasani.net> |
| Xref | csiph.com comp.lang.c++:14764 |
Show key headers only | View raw
On 03/ 6/12 04:08 AM, BGB wrote: > On 3/5/2012 1:53 AM, nick_keighley_nospam@hotmail.com wrote: >> On Sunday, March 4, 2012 4:48:35 PM UTC, BGB wrote: >>> On 3/4/2012 2:56 AM, Juha Nieminen wrote: >>>> BGB<cr88192@hotmail.com> wrote: >> >>>>> I looked briefly at LLVM before, and it looked sort of like someone was >>>>> all like "C++ isn't like Java enough, we sort of need to do it more like >>>>> Java, but more badly...". >>>> >>>> What's the point in using C++ if you will be writing in Java anyways? >>> >>> I am not saying anyone was using Java, rather LLVM seemed to have been >>> written in a vaguely Java-like style, with one-class-per-file, large >>> numbers to includes to include each header file, ... >> >> one-class-per-file is quite a common way to package C++. I wouldn't describe it as Java-like. >> > > it is found in some code-bases, but is far from universal. > for example, Doom3 is C++, and it doesn't follow this convention. > likewise for many other programs using C++. Never the less, it is still common and many small files more more parallel/distributed build friendly. > Java mandates using one-class-per-file by its design, and people who > also follow this convention rarely use top-level functions, ... > > C++ code using one-class-per-file tends to gain a vaguely Java-like > appearance, or at least brings up the annoyance of having to open up > lots of text editors in order to look over the code. Ever heard of tabs? I have precisely one editor open. > personally, I prefer currently around 1000-2000 lines of code per file > (as a limit, ideal IMO is maybe closer to 500-1000 lines), as this makes > it less annoying to deal with (when reading code). It's a lot quicker to font the SomeClass tab than look for the class in a big file. -- Ian Collins
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is Perl written in C? Man-wai Chang <toylet.toylet@gmail.com> - 2012-03-03 22:15 +0800
Re: Is Perl written in C? Paavo Helde <myfirstname@osa.pri.ee> - 2012-03-03 08:38 -0600
Re: Is Perl written in C? Man-wai Chang <toylet.toylet@gmail.com> - 2012-03-03 22:41 +0800
Re: Is Perl written in C? Man-wai Chang <toylet.toylet@gmail.com> - 2012-03-03 22:43 +0800
Re: Is Perl written in C? Sam <sam@email-scan.com> - 2012-03-03 09:23 -0600
Re: Is Perl written in C? Andy Champ <no.way@nospam.invalid> - 2012-03-03 17:08 +0000
Re: Is Perl written in C? Juha Nieminen <nospam@thanks.invalid> - 2012-03-04 07:02 +0000
Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-03 12:08 -0700
Re: Is Perl written in C? jacob navia <jacob@spamsink.net> - 2012-03-03 20:45 +0100
Re: Is Perl written in C? William Ahern <william@wilbur.25thandClement.com> - 2012-03-03 19:13 -0800
Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-04 00:01 -0700
Re: Is Perl written in C? Juha Nieminen <nospam@thanks.invalid> - 2012-03-04 09:56 +0000
Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-04 09:48 -0700
Re: Is Perl written in C? nick_keighley_nospam@hotmail.com - 2012-03-05 00:53 -0800
Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-05 08:08 -0700
Re: Is Perl written in C? Miles Bader <miles@gnu.org> - 2012-03-06 08:38 +0900
Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-05 17:06 -0700
Re: Is Perl written in C? Miles Bader <miles@gnu.org> - 2012-03-06 10:00 +0900
Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-05 19:35 -0700
Re: Is Perl written in C? Juha Nieminen <nospam@thanks.invalid> - 2012-03-06 09:29 +0000
Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-06 09:20 -0700
Re: Is Perl written in C? Ian Collins <ian-news@hotmail.com> - 2012-03-06 13:35 +1300
Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-05 19:24 -0700
Re: Is Perl written in C? Juha Nieminen <nospam@thanks.invalid> - 2012-03-04 09:58 +0000
csiph-web