Re: Object Oriented simpleton design pattern<g>
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Thu, 26 Apr 2007 13:23:18 -0500
"MP" <NoSpam@xxxxxxxxxx> wrote in message
news:OdFVnkBiHHA.1624@xxxxxxxxxxxxxxxxxxxxxxx
to
"Max Kudrenko" <vb_mvp@xxxxxxxxxxx> wrote in message
news:1177578856.772406.316790@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Mark,
My thoughts on this:
1) Yes, OOP is really beneficial for bigger projects only. For small
utilities you have, procedural approach is still the quickest and
cheapest and this is exactly where the classic VB shines.
2) VB isn't really an OO language and so won't help in properly
practicing it. You can rewrite all your code in classes but still,
they are not real OO classes. Perhaps, the classes way will be tidier
and more marketable if you want to sell it but it won't give you any
other benefits including performance.
Hope this helps,
Max Kudrenko
Brainbench MVP Program for Visual Basic
www.brainbench.com
Thanks Max for your response,
as I mentioned, I realize oo is not req'd for something so small, just
trying to use a small example as a way to begin learning how to apply oo
more significant efforts
which language do you recommend for real OO?
Thanks
Mark
While this is not addressed to me, I'll add my little rant anyway. <g>
OO is never 'required' for anything. It just makes everything easier on the
long run. One can simplify small projects by merely changing where one
places the implementation (ie, less objects). But you'll find in VB you
always have one or using the services of one. VB is for "real" OO.
VB is a limited OOPL when compared to other OOPLs, such as C++ or dotNet.
But that doesn't make it less OO only that it doesn't have some mechanisms.
For example, in VB there is no compiler/runtime enforceable way to have a
Singleton or Static Members. That doesn't mean you can't create them. Or use
them. VB doesn't have implementation inheritance - but you can construct
objects that will appear identical to objects created using implementation
inheritance.
So your question should really be "what language do you recommend for the
most OOPL features"?
That would depend on the platform. But in general C++ wins over all. For MS
it would be VC++/CLI.
-ralph
.
- References:
- Object Oriented simpleton design pattern<g>
- From: MP
- Re: Object Oriented simpleton design pattern<g>
- From: Max Kudrenko
- Re: Object Oriented simpleton design pattern<g>
- From: MP
- Object Oriented simpleton design pattern<g>
- Prev by Date: Re: Object Oriented simpleton design pattern<g>
- Next by Date: Re: Adding Configuration Files to resources
- Previous by thread: Re: Object Oriented simpleton design pattern<g>
- Next by thread: Re: Object Oriented simpleton design pattern<g>
- Index(es):
Relevant Pages
|