473,809 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OOP: should I learn it?

I've been spending alot of time learning vb.net the past 6 months (for
regular winform apps. Been somewhat experienced in asp.net for a few
years)

But my style has been using Procedural techniques, rather than OOP.
Lately i've read more and more how OOP is the way to go. So i'm trying
to learn it, and boy is it difficult if you've not worked that way much
before!

I ran into this web site: http://www.geocities.com/tablizer/oopbad.htm
It swears that OOP is over-hyped, and says that Procedural is better.
It has many arguments against OOP.

Do you pros think the info on that site has eny merrit? Or is the
author just trying to get some attention?

Thanks,
John

Nov 21 '05 #1
21 1411
Everything has its time and place. Knowing all the methodologies will allow
you to choose the right one for a particular project.

"johnb41" <or****@informa tik.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
I've been spending alot of time learning vb.net the past 6 months (for
regular winform apps. Been somewhat experienced in asp.net for a few
years)

But my style has been using Procedural techniques, rather than OOP.
Lately i've read more and more how OOP is the way to go. So i'm trying
to learn it, and boy is it difficult if you've not worked that way much
before!

I ran into this web site: http://www.geocities.com/tablizer/oopbad.htm
It swears that OOP is over-hyped, and says that Procedural is better.
It has many arguments against OOP.

Do you pros think the info on that site has eny merrit? Or is the
author just trying to get some attention?

Thanks,
John

Nov 21 '05 #2
"johnb41" <or****@informa tik.com> schrieb:
I've been spending alot of time learning vb.net the past 6 months (for
regular winform apps. Been somewhat experienced in asp.net for a few
years)

But my style has been using Procedural techniques, rather than OOP.
Lately i've read more and more how OOP is the way to go. So i'm trying
to learn it, and boy is it difficult if you've not worked that way much
before!


I would learn OOP although it is a hype and often not the most suitable
tool. OO is an important technique in every programmer's toolbox.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
Well, like it or not, all modern programs for Windows are going to be
based primarily on OOP. And if you plan to use .NET, everything is
an object!

Here is a decent book that I first read when I worked in Delphi. It
does a decent job of explaining OOP.

http://www.amazon.com/exec/obidos/tg...39345?v=glance

Nov 21 '05 #4
That guy's a procedural ideologue, I wouldn't give him much credit. When
you see someone using that much rhetoric to make what they claim is a valid
& logical point, that's a bit of a warning sign that their point isn't as
valid or logical as they claim.

I suggest you study OOP then ask yourself which you think is best. You
might actually like OOP once you get to know it.

"johnb41" <or****@informa tik.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
I ran into this web site: http://www.geocities.com/tablizer/oopbad.htm
It swears that OOP is over-hyped, and says that Procedural is better.
It has many arguments against OOP.

Do you pros think the info on that site has eny merrit? Or is the
author just trying to get some attention?

Nov 21 '05 #5
John,

I would not spent to much time on it.

Just try to avoid:
- modules
- shared classes
- placing your declaration global
- placing your declaration in top of a method
- access to variables in another class others than that there are public
properties for that

You will see that sooner of later you are using OOP

(And buy than a good book or documentation about it how you can improve
that)

Just my thought,

Cor
Nov 21 '05 #6

"johnb41" <or****@informa tik.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
I've been spending alot of time learning vb.net the past 6 months (for
regular winform apps. Been somewhat experienced in asp.net for a few
years)

But my style has been using Procedural techniques, rather than OOP.
Lately i've read more and more how OOP is the way to go. So i'm trying
to learn it, and boy is it difficult if you've not worked that way much
before!

I ran into this web site: http://www.geocities.com/tablizer/oopbad.htm
It swears that OOP is over-hyped, and says that Procedural is better.
It has many arguments against OOP.

Do you pros think the info on that site has eny merrit? Or is the
author just trying to get some attention?

Thanks,
John

Look at it this way.
C++(hybrid, actually), C#, VB.NET, Java, etc., etc. are all object oriented
languages. Why is that, I wonder?
I would be the last person to tell you that OO is the *only* way, but it has
many appealing real world advantages conveniently ignored by the procedural
zealot.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 21 '05 #7
"Workgroups " <no*****@domain less.com> schrieb:
That guy's a procedural ideologue, I wouldn't give him much credit.


OOP only puts a meta-structure over procedural programming. Procedural
programming is still one of the main programming techniques. I often see OO
code written by people claiming that they are "system architects" which show
a lack of knowledge in procedural programming. Thus the solutions may have
a good object model, but the implementation is flawed.

It's never good to have only a single tool in the toolbox, especially if you
need to combine the tools to get the best solution.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #8
Cor,

"Cor Ligthert [MVP]" <no************ @planet.nl> schrieb:
Just try to avoid:
[...]
- placing your declaration in top of a method
[...]
You will see that sooner of later you are using OOP


Block-level scope is not an OO feature.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #9
Herfried,

Do you have advice on when is a good time to use OOP and when it is
not? How do I know?

John

Nov 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

77
5699
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a database from SQL Server to Oracle or DB2 or vice versa... and that's it.... And a lot of these enterprises don't need it as they already know what database they are going to use and they don't plan on switching in and out database in the first...
51
4078
by: nospam | last post by:
THIS IS the DOTNETJUNKIES MESSAGE ------------------------- We're Sorry As many of you know we have recently launched SqlJunkies.com. We have overhauled our runtime and will be using it on DotNetJunkies.com also. -------------------------------------------------------------------------- YEP, DOTNET JUNKIES REDESIGN....
16
1817
by: Gregor | last post by:
This is partially an opinion question. I have some modularization for my main site using vanilla PHP. I'm a one-man operation. Is there any major benefit to learning and using OOP? I have lots of other stuff to be spending my limited intelligence learning.
65
5304
by: Chris Carlen | last post by:
Hi: From what I've read of OOP, I don't get it. I have also found some articles profoundly critical of OOP. I tend to relate to these articles. However, those articles were no more objective than the descriptions of OOP I've read in making a case. Ie., what objective data/studies/research indicates that a particular problem can be solved more quickly by the programmer, or that the solution is more efficient in execution time/memory...
18
2196
by: firewoodtim | last post by:
I need some help in furthering my education in OOP. I have developed a set of PHP scripts that I use in a fairly sophisticated database driven website, but I am not proud of the rather amateurish programming that I used to create the functionality. Although I use classes and objects to organize my data and their related functions, it seems to be only marginally better than plain procedural programming. For example, I do not use...
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9601
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10635
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10115
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7653
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.