📄 月光软件站 - 编程文档 - script - 我与javascript 随笔(二).htm
字号:
lang=EN-US>DHTML</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开发中真的需要面向对象吗?</SPAN><SPAN
lang=EN-US>JS</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">不是一种纯面向对象的语言,虽然可以实现或伪实现某些诸如继承、多态的面向对象语言的特性,但这些东西经常在</SPAN><SPAN
lang=EN-US>DHTML</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用吗?正如我曾经看过的一本书《</SPAN><SPAN
lang=EN-US>JavaScript</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">完全参考》中所述:大多数</SPAN><SPAN
lang=EN-US>JS</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">程序员使用的还是一团浆糊式的编程。我的原则是:尽可能采用过程式的</SPAN><SPAN
lang=EN-US>JS</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编程,也不用面向对象的方法!偏激了点,的确在许多实际应用开发中,牺牲过程式的编程而勉强采用面向对象的方式有时是恰如其反。</SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 26.25pt; mso-char-indent-count: 2.5"><SPAN
lang=EN-US><o:p><FONT size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 26.25pt; mso-char-indent-count: 2.5"><FONT
size=2><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">今天,</SPAN><SPAN
lang=EN-US>ASP.NET</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">正在把</SPAN><SPAN
lang=EN-US>Web</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开发中面向客户端处理的细节隐藏起来,但我始终不会忘记一个灵活、高效且非常健壮的客户端如果失去了</SPAN><SPAN
lang=EN-US>JS</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,那么也就失去了</SPAN><SPAN
lang=EN-US>Web</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开发真正的魅力。</SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 26.25pt; mso-char-indent-count: 2.5"><SPAN
lang=EN-US><o:p><FONT size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 26.25pt; mso-char-indent-count: 2.5"><FONT
size=2><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这篇随笔还没有真正的结束,让它先暂停一下吧,同时期待自已对</SPAN><SPAN
lang=EN-US>JS</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">有更多的理解:)
</SPAN></FONT></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 26.25pt; mso-char-indent-count: 2.5"><FONT
size=2><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"> <FONT
color=#ff0000> yjgx 于 2004-2-27
22:00</FONT></SPAN></FONT></P><IMG height=1
src="月光软件站 - 编程文档 - Script - 我与Javascript 随笔(二).files/down_info.htm"
width=1 border=0><BR><BR></TD></TR>
<TR>
<TD width="100%" bgColor=#cccccc height=1></TD></TR>
<TR>
<TD width="100%"><BR><B>相关文章</B>:
<P><B>相关软件</B>:</P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></CENTER></DIV>
<CENTER>
<SCRIPT src="月光软件站 - 编程文档 - Script - 我与Javascript 随笔(二).files/bottom.js"
type=text/javascript></SCRIPT>
</CENTER>
<DIV id=objbottom align=center>
<CENTER>
<SCRIPT type=text/javascript>
var arrBaiduCproConfig=new Array();
arrBaiduCproConfig['uid'] =43125;
arrBaiduCproConfig['n'] ='williamlongcpr';
arrBaiduCproConfig['tm'] ='22';
arrBaiduCproConfig['cm'] ='72';
arrBaiduCproConfig['um'] ='22';
arrBaiduCproConfig['w'] ='728';
arrBaiduCproConfig['h'] ='90';
arrBaiduCproConfig['wn'] ='4';
arrBaiduCproConfig['hn'] ='1';
arrBaiduCproConfig['ta'] ='right';
arrBaiduCproConfig['tl'] ='bottom';
arrBaiduCproConfig['bu'] ='0';
arrBaiduCproConfig['bd'] ='#ffffff';
arrBaiduCproConfig['bg'] ='""';
arrBaiduCproConfig['tt'] ='#444444';
arrBaiduCproConfig['ct'] ='#000000';
arrBaiduCproConfig['url'] ='#000000';
arrBaiduCproConfig['bdl'] ='#ffffff';
arrBaiduCproConfig['rad'] =1;
</SCRIPT>
<SCRIPT src="月光软件站 - 编程文档 - Script - 我与Javascript 随笔(二).files/ui.js"
type=text/javascript charset=gbk>
</SCRIPT>
<SCRIPT type=text/javascript>
<!--
document.write(baiduCproIFrame());
-->
</SCRIPT>
</CENTER></DIV>
<SCRIPT language=javascript>
if(document.all.item("objtop") != null)
{
objtop.innerHTML = objbottom.innerHTML
}
</SCRIPT>
<BR><BR><BR>
<DIV align=center>
<CENTER>
<TABLE style="FONT-SIZE: 9pt" cellSpacing=0 cellPadding=1 width=770 border=0>
<TBODY>
<TR>
<TD width=770 bgColor=#000000 height=1></TD></TR>
<TR>
<TD width=770 height=5></TD></TR>
<TR>
<TD align=middle width=770><A href="http://www.moon-soft.com/"
target=_top>月光软件</A>┊<A href="http://www.moon-soft.com/download/"
target=_top>程序下载</A>┊<A href="http://www.moon-soft.com/doc/"
target=_top>编程文档</A>┊<A href="http://www.moon-soft.com/book/"
target=_top>电脑教程</A>┊<A href="http://www.moon-soft.com/web/"
target=_top>网站设计</A>┊<A href="http://www.moon-soft.com/site/"
target=_top>网址导航</A>┊<A href="http://www.moon-soft.com/art/"
target=_top>网络文学</A>┊<A href="http://www.moon-soft.com/game/"
target=_top>游戏天地</A>┊<A href="http://www.moon-soft.com/joke/"
target=_top>幽默笑话</A>┊<A href="http://www.moon-soft.com/life/"
target=_top>生活休闲</A>┊<A href="http://www.moon-soft.com/picture/"
target=_top>美女图片</A>┊<A href="http://www.moon-soft.com/guestbook/"
target=_top>意见反馈</A><BR><A
href="http://www.moon-soft.com/program/bbs/docelite1105.htm">电脑技术</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite405353.htm">编程开发</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite25188.htm">网络专区</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite10811.htm">谈天说地</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite113108.htm">情感世界</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite872697.htm">游戏元素</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite50820.htm">分类游戏</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite166458.htm">热门游戏</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite42994.htm">体育运动</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite872698.htm">手机专区</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite28075.htm">业余爱好</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite34403.htm">影视沙龙</A><BR><A
href="http://www.moon-soft.com/program/bbs/docelite872701.htm">音乐天地</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite872702.htm">数码广场</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite121902.htm">教育园地</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite872703.htm">科学大观</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite991826.htm">古今纵横</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite49868.htm">谈股论金</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite55064.htm">人文艺术</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite165391.htm">医学保健</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite115338.htm">动漫图酷</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite872704.htm">二手专区</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite112364.htm">地方风情</A>┊<A
href="http://www.moon-soft.com/program/bbs/docelite165368.htm">各行各业</A><BR><BR><A
href="http://www.moon-soft.com/">月光软件站</A>·<A
href="http://www.moon-soft.com/sitemap.htm" target=_blank>版权所有</A>
</TD></TR></TBODY></TABLE></CENTER></DIV><BR><BR><BR><BR><BR><BR><!-- */ //--></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -