|
Sponsored Links
Resources
.NET Research Library
Get .NET related white papers, case studies and webcasts
|
.NET architecture
.NET architecture
.NET architecture
|
Messages: 5
Messages: 5
Messages: 5
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
VB.NET barely OO
I know that .NET is OO, but you are hard pushed to find VB.NET apps that are really OO. I think the reason for this is twofold.
Firstly, most VB.NET developers are coming from VB. Most java/c++ developers are writing in c# on .NET. The second reason is that .NET, especially in windows programming, seems still, to be obsessed with the database. You have all these controls that bind to a datasource, directly from the UI. What happened to objects??
|
|
Message #160118
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
VB.NET barely OO - yea right
Any .Net developer that is not programming to an object oriented model, hasn't had sufficient training, and/or experience. Bindingg UI controls directly to the datasource is nice, if all your worried about is a deadline, and the RAD model is accepted, but good .Net developers all have the ability to create scalable N-Tier applications and do.
Don't blame VB.Net, blame the developer using VB.Net.
|
|
Message #160124
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
I Agree...
I agree with the other John Saunders :-)
I'll add that many people who wonder "where's the OO in VB.NET" have recently read a book or article on VB.NET which did not emphasize OO. From this, they conclude that VB.NET does not support OO since, if it did, that would have been in the book. This is a false assumtpion.
John W. Saunders, III
|
|
Message #160130
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
On the evidence
Maybe I could have titled my post better. I feel that people are bringing a lot of baggage to VB.NET from VB. I have worked on three previously written VB.NET projects and struggled to find a real class. Programmers where just writing the old style of code and wrapping it in Public Class /End Class clause.
|
|
Message #160175
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
On the evidence
If we are honest with ourselves we'll realize that precious little Java or C# (or even C++) code is actually object-oriented either.
Windows Forms and Web Forms are event-driven procedural models. Sure we _use_ objects, but we don't usually apply OO design to the UI.
Data access code is typically linear. Again, we _use_ objects from ADO.NET, but our actual data access code is most commonly linear, not even procedural.
Most applications have their business logic in or near the UI. At best this logic is typically in some sort of function library. In a class of course, but not designed with OOD...
The fact is that the _vast_ majority of software created in ANY language today is data-centric, event driven and mostly procedural. It is very rare to find an application where the UI, business logic and data access are built following real OO design...
Depressing? Yes. But this is reality...
Rocky
|
|
Message #160243
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Depressing? Yeah
I have to agree with Rocky. I keep find duplicated logic because people are not creating objects to model the objects in their system. If different parts of the system are going directly to the same table for different reasons, then we have probably got duplicated code and logic. This can be the source of bugs as the application ages.
Also, it seems that .NET applications is tightly coupled with database stored procedures. I think this is good, as long as the procedures ARE KEPT SIMPLE. I have come across quite a few apps where most of the logic is in the proc. Thats fine, but you can really inherit or share this kind of logic.
I would like to see an emergence of a proper class models. Lets take the business logic back from the UI and the database!
|
|
 |
Hot threads
Hot threads
Hot threads
|
More hot threads
More hot threads
More hot threads
|
 |
Speaking at EclipseCon 2006, Java developer and independent consultant Madhu Siddalingaiah compared Microsoft's Visual Studio IDE to the open source development environment of Eclipse.
(32 comments,
last posted
December 29, 2007)
In this tech talk, Microsoft's Peter Provost talks about the design of the Composite UI Application Block and how the p&p team has led Microsoft in the adoption of Agile methodologies.
(0 comments,
last posted
April 17, 2006)
Chapter 4 of Framework Design Guidelines, titled "Type Design Guidelines," presents patterns that describe when and how to design classes, constructs and interfaces. In this chapter, Abrams and Cwalina divide types into four groups and discuss the do's and don'ts of type design.
(2 comments,
last posted
July 07, 2006)
Paul Ferrill caught up with prime open-source .NET applications driver Miguel De Icaza at Novell's BrainShare conference last week. They discussed the status of Windows Forms for Mono (it's coming along) and VB.NET for Mono (it looks like it's out).
(5 comments,
last posted
March 30, 2006)
In this tech talk, Microsoft Visual Studio architect Jack Greenfield discusses the company's approach to Domain-Specific Languages, or DSLs, and the part they play in software factories.
(0 comments,
last posted
March 15, 2006)
More hot threads »
|
|