OOP超卖? [英] OOP Oversold??

查看:100
本文介绍了OOP超卖?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我还没有放弃,但我想知道OOP是否值得付出努力。

我知道这个论坛几乎所有人都认为OOP是唯一的出路,

但是有没有人相信不同?

1.有没有人相信编程模式会在不久的将来发生变化?
并留下OOP?


2.我爱* Asp.net。 ASP.net中是否有任何使用传统编程方法的语言?


3.我选择了VB.Net来学习,因为它看起来类似于我曾经使用的其他vb

。在第一次脸红时,它似乎是LOGICAL,就像我过去使用的其他编程

语言一样。它是.......直到我被告知我的

代码都错了,因为它没有使用oop进程。


是否可以使用传统逻辑使用VB.net进行编程,而无需使用

OOP? (**仅用于网络应用程序**)


4.如果数字3为真,谁能告诉我如何在没有人的情况下获得帮助

坚持OOP?


5.我需要在不同的论坛吗?如果是的话,在哪里?

解决方案

re:

!我还没有放弃,但是我想知道OOP是否值得付出努力。


如果你想使用解释语言,而不是编译.Net语言

依赖于OOP,你可以自由地这样做,理解你会放弃很多效率。


IIRC .Net提供了大约3-4倍于ASP的吞吐量。

这是通过使用OOP,汇编编译和JIT编译实现的。


我不会不要轻易放弃,只是留在传统的内部。编程领域。


Juan T. Llibre,asp.net MVP

asp.net faq: http://asp.net.do/faq/

foros de asp.net, en espa?ol: http://asp.net.do/foros/

======================================

舞者 < da **** @ microsoft.comwrote in message news:%2 **************** @ TK2MSFTNGP03.phx.gbl ...


>我还没有放弃,但我想知道OOP是否值得付出努力。

我知道这个论坛几乎所有人都认为OOP是唯一可行的方法,但有没有人会以不同的方式相信?

1.是否有人认为编程模式会在不久的将来发生变化留下OOP?


2.我爱* Asp.net。目前在ASP.net中是否有任何使用

编程的传统方法的语言?


3.我选择了VB.Net来学习,因为它看起来类似于我曾经使用的其他vb。乍一看,它似乎像我过去使用过的其他编程语言一样。它是.......直到我被告知我的代码是全部

错误,因为它没有使用oop进程。


是否可以使用传统逻辑使用VB.net进行编程,而无需使用OOP? (**仅用于网页

申请**)


4.如果数字3为真,谁能告诉我如何在没有人的情况下获得帮助坚持OOP?


5.我需要在不同的论坛吗?如果是的话,在哪里?



dancer写道:


我还没有放弃,但我想知道OOP是否值得付出努力。



绝对。


我知道这个论坛几乎所有人都认为OOP是唯一的出路,

但是有没有人相信不同?

1.有没有人相信编程模式会改变

近未来并留下OOP?



不,不是很多年。 OOP已经被广泛使用了大约20年,并且如果它将在另一个20左右,我不会感到有点惊讶。


即使明天出现了一些新的革命性的东西,它也会好几年才被发展成商业上有用的东西。


2.我爱* Asp.net。目前在ASP.net中使用的语言是否使用TRADITIONAL编程方法?b $ b?



不是。有一些过程语言,但它们仍然可以使用面向对象的.NET框架工作。


3.我选择了VB.Net学习,因为它看起来类似于我曾经使用的其他vb

。在第一次脸红时,它似乎是LOGICAL,就像我过去使用的其他编程

语言一样。它是.......直到我被告知我的

代码都错了,因为它没有使用oop进程。


是否可以使用传统逻辑使用VB.net进行编程,而无需使用

OOP? (**仅用于Web应用程序**)



VB.NET是一种面向对象的语言,所以你不能完全使用它
没有面向对象的
。您可以在不使用代码中的大部分OOP

功能的情况下使用,但是您在框架中使用的所有内容都是

仍然是面向对象的。


4.如果数字3为真,谁能告诉我如何在没有人的情况下获得帮助

坚持OOP?


5.我需要在不同的论坛吗?如果是的话,在哪里?



而是使用一个完全不同的系统...没有OOP的ASP.NET是一个

,就像驾驶法拉利并拒绝使用任何东西一样但第一个

装备。


-

G?跑Andersson

_____
http://www.guffa.com


"舞蹈家" < da **** @ microsoft.comwrote in message

news:%2 **************** @ TK2MSFTNGP03.phx.gbl ...


我还没有放弃,但我想知道OOP是否值得付出努力。



取决于你作为.NET开发人员的严肃程度......


我知道差不多在这个论坛中,每个人都认为OOP是唯一可以获得
的方式,但是有没有人会有不同的看法?



这不是唯一的方法,但它是迄今为止效率最高的。下次

你必须开车去任何地方,尝试用倒档装备 - 下周你还会得到

...当然,到了你的时候到那里,其他人都会

已经消失了......


1.是否有人认为编程模式会发生变化

不久的将来会留下OOP吗?



不是我。


2.我爱* Asp.net。目前在ASP.net中使用的语言是否使用TRADITIONAL编程方法?b $ b?



所有.NET语言都针对.NET Framework进行编程,否则它们不会是.NET语言。 .NET Framework是面向对象的 - ipso

facto ...


3.我选择VB.Net来学习因为它看起来类似于其他vb我偶尔会使用



可能是你选择VB.NET,IMO最糟糕的原因...

除了一些语法上的相似之处,VB。 NET绝对没有任何基本的任何风格的关系...


第一次脸红它似乎是LOGICAL,就像其他编程语言一样过去使用了

。它是.......直到我被告知我的代码是全部

错误,因为它没有使用oop进程。



如果''错'''的意思是非常低效,那么我会同意

告诉你的那个。 ..


是否可以使用传统逻辑使用VB.net进行编程,而无需使用

OOP? (**仅用于Web应用程序**)



几乎所有在VB.NET中编写的内容都使用对象

orientation在某种程度上...


5.我需要在不同的论坛吗?



不,您需要一个不同的开发环境。试试PHP ...

-

Mark Rae

ASP.NET MVP
http://www.markrae.net


I haven''t given up yet, but I''m wondering if OOP is worth the effort.
I know that almost everybody in this forum thinks OOP is the only way to go,
but is there anybody out there who believes differently?
1. Is there anybody who believes that programming patterns will change in
the near future and leave OOP behind?

2. I *love* Asp.net. Is there any language to use presently in ASP.net
that uses the TRADITIONAL method of programming?

3. I chose VB.Net to learn because it looked similar to other vb I had used
on occasion. On first blush it seemed LOGICAL, as other programming
languages I had used in the past. And it is....... until I am told my
code is all wrong because it doesn''t use the oop processes.

Is it possible to program with VB.net using traditional logic, without the
OOP? (**Using it only for web applications**)

4. If number 3 is true, who can tell me how to get help without somebody
insisting on OOP?

5. Do I need to be in a different forum? If so, Where?

解决方案

re:
!I haven''t given up yet, but I''m wondering if OOP is worth the effort.

If you want to use interpreted languages, instead of compiled .Net languages
which rely on OOP, you''re quite free to do so, in the understanding that you''re
going to give up a lot of efficiency.

IIRC, .Net provides about 3-4 times the throughtput that ASP did.
That is achieved by using OOP, assembly compilation and JIT compilation.

I wouldn''t give that up easily, just to stay inside the "traditional" programming realm.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
======================================
"dancer" <da****@microsoft.comwrote in message news:%2****************@TK2MSFTNGP03.phx.gbl...

>I haven''t given up yet, but I''m wondering if OOP is worth the effort.
I know that almost everybody in this forum thinks OOP is the only way to go, but is there anybody out there who
believes differently?
1. Is there anybody who believes that programming patterns will change in the near future and leave OOP behind?

2. I *love* Asp.net. Is there any language to use presently in ASP.net that uses the TRADITIONAL method of
programming?

3. I chose VB.Net to learn because it looked similar to other vb I had used on occasion. On first blush it seemed
LOGICAL, as other programming languages I had used in the past. And it is....... until I am told my code is all
wrong because it doesn''t use the oop processes.

Is it possible to program with VB.net using traditional logic, without the OOP? (**Using it only for web
applications**)

4. If number 3 is true, who can tell me how to get help without somebody insisting on OOP?

5. Do I need to be in a different forum? If so, Where?



dancer wrote:

I haven''t given up yet, but I''m wondering if OOP is worth the effort.

Absolutely.

I know that almost everybody in this forum thinks OOP is the only way to go,
but is there anybody out there who believes differently?
1. Is there anybody who believes that programming patterns will change in
the near future and leave OOP behind?

No, not for many years. OOP has been widely used for about 20 years, and
I wouldn''t be the least bit surprised if it will be around for another 20.

Even if something new and revolutionary comes up tomorrow, it will be
several years until it''s even developed into something commercially useful.

2. I *love* Asp.net. Is there any language to use presently in ASP.net
that uses the TRADITIONAL method of programming?

Not really. There are some procedural languages, but they still all work
with the .NET framework, which is object oriented.

3. I chose VB.Net to learn because it looked similar to other vb I had used
on occasion. On first blush it seemed LOGICAL, as other programming
languages I had used in the past. And it is....... until I am told my
code is all wrong because it doesn''t use the oop processes.

Is it possible to program with VB.net using traditional logic, without the
OOP? (**Using it only for web applications**)

VB.NET is an object oriented language, so you can''t use it completely
without object orientation. You can get by without using much of the OOP
features in your code, but everything that you use in the framework is
still object oriented.

4. If number 3 is true, who can tell me how to get help without somebody
insisting on OOP?

5. Do I need to be in a different forum? If so, Where?

Rather using a completely different system... ASP.NET without OOP is a
little like driving a Ferrari and refusing to use anything but the first
gear.

--
G?ran Andersson
_____
http://www.guffa.com


"dancer" <da****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

I haven''t given up yet, but I''m wondering if OOP is worth the effort.

Depends how serious you are about being a .NET developer...

I know that almost everybody in this forum thinks OOP is the only way to
go, but is there anybody out there who believes differently?

It''s not the only way to go, but it''s by far the most efficient. Next time
you have to drive anywhere, try doing it in reverse gear - you''ll still get
there next week... Of course, by the time you get there, everyone else will
already have gone...

1. Is there anybody who believes that programming patterns will change in
the near future and leave OOP behind?

Not me.

2. I *love* Asp.net. Is there any language to use presently in ASP.net
that uses the TRADITIONAL method of programming?

All .NET languages program against the .NET Framework, otherwise they
wouldn''t be .NET languages. The .NET Framework is object-orientated - ipso
facto...

3. I chose VB.Net to learn because it looked similar to other vb I had
used on occasion.

Possibly the worst reason you could have had for choosing VB.NET, IMO...
Other than some syntactical similarities, VB.NET bears absolutely no
relationship whatsoever to any flavour of Basic...

On first blush it seemed LOGICAL, as other programming languages I had
used in the past. And it is....... until I am told my code is all
wrong because it doesn''t use the oop processes.

If by ''wrong'' you mean ''highly inefficient'', then I would agree with whoever
told you that...

Is it possible to program with VB.net using traditional logic, without the
OOP? (**Using it only for web applications**)

Virtually everything you have written so far in VB.NET uses object
oientation to some degree...

5. Do I need to be in a different forum?

No, you need a different development environment. Try PHP...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net


这篇关于OOP超卖?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆