digitalmars.D - OO usage count
- Ant (8/8) Apr 03 2005 So, how many of you use the OO paradigma?
- Georg Wrede (6/7) Apr 04 2005 I use it with practically all programs. Except some 2-page
- Carlos Santander B. (5/17) Apr 04 2005 Ditto.
- Regan Heath (4/14) Apr 04 2005 Ditto also.
- jicman (15/21) Apr 08 2005 Ditto...
- Antonio Monteiro (4/6) Apr 04 2005 Only 4 of us... that's way simple thing still have bugs.
- Derek Parnell (15/22) Apr 04 2005 I'm developing a library using OO. This has been a learning experience f...
- Lars Ivar (6/22) Apr 06 2005 I'm usually using OO, unless the program is very small. With D I've been...
- Derek Parnell (9/35) Apr 06 2005 I've got it down to only 5 (five) times slower now ;-) Mainly through so...
- Ben Hinkle (2/6) Apr 06 2005 I'd be surprised if declaring functions as 'package' significantly impro...
- Derek Parnell (11/18) Apr 06 2005 Duh? I know that *just* by using the 'package' attribute one doesn't
-
Ant
(4/4)
Apr 05 2005
In article
, Antonio Monteiro says...
So, how many of you use the OO paradigma? I'm asking as I just found a basic problem with a simple OO construct. (I think - check the bugs group http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/3424 subject "Interface implementation on derived class") count me. (I guess Kris is another) Ant
Apr 03 2005
Ant wrote:So, how many of you use the OO paradigma?I use it with practically all programs. Except some 2-page quick-and-dirty stuff. But it's not a religion. It's just practical for some things, and impractical for others, where I don't use it. Mostly it just "comes by itself" whether or not.
Apr 04 2005
Georg Wrede wrote:Ant wrote:Ditto. -- Carlos Santander Bernal JP2, you'll always live in our mindsSo, how many of you use the OO paradigma?I use it with practically all programs. Except some 2-page quick-and-dirty stuff. But it's not a religion. It's just practical for some things, and impractical for others, where I don't use it. Mostly it just "comes by itself" whether or not.
Apr 04 2005
On Mon, 04 Apr 2005 16:16:19 -0500, Carlos Santander B. <csantander619 gmail.com> wrote:Georg Wrede wrote:Ditto also. ReganAnt wrote:Ditto.So, how many of you use the OO paradigma?I use it with practically all programs. Except some 2-page quick-and-dirty stuff. But it's not a religion. It's just practical for some things, and impractical for others, where I don't use it. Mostly it just "comes by itself" whether or not.
Apr 04 2005
Georg Wrede says...Ant wrote:Ditto...So, how many of you use the OO paradigma?I use it with practically all programs.But it's not a religion. It's just practical for some things, and impractical for others, where I don't use it.Ditto...Mostly it just "comes by itself" whether or not.Ditto... It needs to feel right. Sometimes people get into a OO Religion where they would make a class for something that would make no sense like i = 3; And they write 5 lines of code to write something that could be done in one line of code. So, I love OO, but when it applicable, "but it's not a religion," as Georg said. Back when I started coding, 1981, we use to change codes of the apple IIe machine language games to make them faster or slower, etc. I did some c, back then and PL/I and Pascal and RPG. None of these were OO languages. But, I like to welcome positive changes and OO is a positive change for programming. But not in a way that **everything** needs to be OO. Am I talking too much? :-) Sorry. jicman
Apr 08 2005
Ant wrote:So, how many of you use the OO paradigma? I'm asking as I just found a basic problem with a simple OO construct.Only 4 of us... that's way simple thing still have bugs. well, I still have to show it... Ant
Apr 04 2005
On Tue, 05 Apr 2005 00:35:32 -0400, Antonio Monteiro wrote:Ant wrote:I'm developing a library using OO. This has been a learning experience for me, as I've only played and dabbled in OO before. Now I'm getting serious. After a few dead-end routes, I've got the library working at an alpha-status now. The most obvious difference between using the OO paradigm and using a procedural one is that OO is really, really, really, slow. About 27 times slower than the equivalent *interpreted* programs. There's an awful lot of function calls happening to get nearly anything done. Of course, that could be because my factoring etc is all wrong ;-) -- Derek Parnell Melbourne, Australia http://www.dsource.org/projects/build/ v1.19 released 04/Apr/2005 http://www.prowiki.org/wiki4d/wiki.cgi?FrontPage 5/04/2005 2:49:09 PMSo, how many of you use the OO paradigma? I'm asking as I just found a basic problem with a simple OO construct.Only 4 of us... that's way simple thing still have bugs. well, I still have to show it...
Apr 04 2005
In article <1sspdo44298v2$.h7o989y92s4q.dlg 40tude.net>, Derek Parnell says...On Tue, 05 Apr 2005 00:35:32 -0400, Antonio Monteiro wrote:I'm usually using OO, unless the program is very small. With D I've been more and more doing both procedural and OO in the same project, the pure OO is usually to impractical. Whether this has to do with D shortcomings, I'm not sure of yet. Lars IvarAnt wrote:I'm developing a library using OO. This has been a learning experience for me, as I've only played and dabbled in OO before. Now I'm getting serious. After a few dead-end routes, I've got the library working at an alpha-status now. The most obvious difference between using the OO paradigm and using a procedural one is that OO is really, really, really, slow. About 27 times slower than the equivalent *interpreted* programs. There's an awful lot of function calls happening to get nearly anything done. Of course, that could be because my factoring etc is all wrong ;-)So, how many of you use the OO paradigma? I'm asking as I just found a basic problem with a simple OO construct.Only 4 of us... that's way simple thing still have bugs. well, I still have to show it...
Apr 06 2005
On Wed, 6 Apr 2005 07:12:21 +0000 (UTC), Lars Ivar wrote:In article <1sspdo44298v2$.h7o989y92s4q.dlg 40tude.net>, Derek Parnell says...I've got it down to only 5 (five) times slower now ;-) Mainly through some optimization (removing redundant copying). I'm now playing with the 'package' attribute to enable further optimizations, but at the cost of increased module bindings (i.e. increased maintenance costs). -- Derek Melbourne, Australia 6/04/2005 5:24:48 PMOn Tue, 05 Apr 2005 00:35:32 -0400, Antonio Monteiro wrote:I'm usually using OO, unless the program is very small. With D I've been more and more doing both procedural and OO in the same project, the pure OO is usually to impractical. Whether this has to do with D shortcomings, I'm not sure of yet.Ant wrote:I'm developing a library using OO. This has been a learning experience for me, as I've only played and dabbled in OO before. Now I'm getting serious. After a few dead-end routes, I've got the library working at an alpha-status now. The most obvious difference between using the OO paradigm and using a procedural one is that OO is really, really, really, slow. About 27 times slower than the equivalent *interpreted* programs. There's an awful lot of function calls happening to get nearly anything done. Of course, that could be because my factoring etc is all wrong ;-)So, how many of you use the OO paradigma? I'm asking as I just found a basic problem with a simple OO construct.Only 4 of us... that's way simple thing still have bugs. well, I still have to show it...
Apr 06 2005
I've got it down to only 5 (five) times slower now ;-) Mainly through some optimization (removing redundant copying). I'm now playing with the 'package' attribute to enable further optimizations, but at the cost of increased module bindings (i.e. increased maintenance costs).I'd be surprised if declaring functions as 'package' significantly improves things. Have you tried the -gt flag to see where the bottle-neck is?
Apr 06 2005
On Wed, 6 Apr 2005 08:15:23 -0400, Ben Hinkle wrote:Duh? I know that *just* by using the 'package' attribute one doesn't magically get any performance. But by using it, I can have one class directly see the contents of another without having to be polite about it. So instead of class Foo asking for a copy of Bar's data, Foo can just go in and grab what it needs. And yes, I've used the -gt to get the improvements I've so far made. -- Derek Parnell Melbourne, Australia 7/04/2005 1:54:04 AMI've got it down to only 5 (five) times slower now ;-) Mainly through some optimization (removing redundant copying). I'm now playing with the 'package' attribute to enable further optimizations, but at the cost of increased module bindings (i.e. increased maintenance costs).I'd be surprised if declaring functions as 'package' significantly improves things. Have you tried the -gt flag to see where the bottle-neck is?
Apr 06 2005
In article <d2t4h6$vpn$1 digitaldaemon.com>, Antonio Monteiro says...Looks my setup on my new news cliente uses 'Antonio Monteiro' Poor Matthew, another one hey?! Sorry, didn't mean to... Ant
Apr 05 2005