C#与VB.NET:打字速度 [英] C# vs. VB.NET: typing speed

查看:84
本文介绍了C#与VB.NET:打字速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近暂时从C#切换到了VB.NET,看看

的差异是什么。


令我惊讶的是我快*快* VB.NET。我不知道为什么,

按下shift键来大写字母会让我慢下来

极大地在每个声明之后输入一个分号,

没有智能自动完成和自动缩进而不是

有(邪恶,也许)声明......


我也是喜欢水平线,清楚地区分不同的

功能。我仍然认为如果你从Java / C ++中获得
后C#看起来更好(更简洁),但是在你习惯了VB.NET的语法之后,你就开始了

也改变了你的想法...


VB.NET似乎有相当可怕的历史/遗产(至少当它来了
来到良好的OO设计),这就是许多oldschool的原因。开发人员确实没有使用它。


除此之外还有什么东西能让它不如C#有用吗?我是b $ b意思是,它是一流的语言,毕竟不是吗?


是否有任何工具将一种语言转换为另一个,项目范围内的
,如果客户想要一个C#解决方案,我仍然可以使用它并在最后一刻转换它?

I recently switched temporarily from C# to VB.NET to see what the
differences are.

To my surprise I am *much* faster with VB.NET. I don''t know why,
pressing the shift key to capitalize letters slows me down
tremendously, among having to type a semicolon after each statement,
not having intelligent auto-complete and auto-indentation and not
having the (evil, maybe) with statement ...

I also like the horizontal lines that clearly distinguish different
functions. I still think C# looks much nicer (less verbose) if you come
from Java/C++, but after you get used to VB.NET''s syntax, you begin
changing your mind about that as well...

VB.NET seems to have quite a horrible history/legacy (at least when it
comes to good OO design), which is why many "oldschool" developers do
not use it.

Is there anything beyond that that makes it less useful than C#? I
mean, it is a first class language, after all, isn''t it?

Are there any tools out there that convert one language to the other,
project-wide, so that if a customer wants a C# solution, I can still
use it and convert it at the very last moment?

推荐答案

转换器并不完美。有一些免费的。一些应用程序需要大量的手动调整,以至于生产力的提高会丢失。也许

这只是我的经验。


至于病情衰老,人们可以通过一些宏观,扫描仪或

来解决这个问题。花哨的编辑


顺便说一句,在氛围中,你得到一个表单类型的应用程序运行良好,然后你添加一行

几行代码和新编译的代码将没有加载任何东西

关于未处理的异常并让你想知道你把这个陈述给了b
忽略了把它放进去尝试...抓住结束尝试。

有一些应用程序或一些应用程序的一部分更适合c


< by ********* @ googlemail.comwrote in message

news:11 ********************** @ d34g2000cwd.googlegr oups.com ...
converter are not perfect. there are a few free ones. some app requires
substantial manual tweak, so much that productivity gain gets lost. Maybe
that is just my experience.

As for case senility one could get over that with some macro, scanners or
fancy editors

Btw, in vibe, you get a form type application working well, then you add a
few lines of codes and the newly compiled code will not load with something
about unhandled exception and leave you wondering which statement you
neglected to put in try ... catch end try.
there are some apps or part of some apps that are more suited with c

<by*********@googlemail.comwrote in message
news:11**********************@d34g2000cwd.googlegr oups.com...

我最近暂时从C#切换到VB.NET,看看

的差异是什么。


令我惊讶的是我*快*更快用VB.NET。我不知道为什么,

按下shift键来大写字母会让我慢下来

极大地在每个声明之后输入一个分号,

没有智能自动完成和自动缩进而不是

有(邪恶,也许)声明......


我也是喜欢水平线,清楚地区分不同的

功能。我仍然认为如果你从Java / C ++中获得
后C#看起来更好(更简洁),但是在你习惯了VB.NET的语法之后,你就开始了

也改变了你的想法...


VB.NET似乎有相当可怕的历史/遗产(至少当它来了
来到良好的OO设计),这就是许多oldschool的原因。开发人员确实没有使用它。


除此之外还有什么东西能让它不如C#有用吗?我是b $ b意思是,它是一流的语言,毕竟不是吗?


是否有任何工具将一种语言转换为另一个,项目范围内的
,如果客户想要一个C#解决方案,我仍然可以使用它并在最后一刻转换它?
I recently switched temporarily from C# to VB.NET to see what the
differences are.

To my surprise I am *much* faster with VB.NET. I don''t know why,
pressing the shift key to capitalize letters slows me down
tremendously, among having to type a semicolon after each statement,
not having intelligent auto-complete and auto-indentation and not
having the (evil, maybe) with statement ...

I also like the horizontal lines that clearly distinguish different
functions. I still think C# looks much nicer (less verbose) if you come
from Java/C++, but after you get used to VB.NET''s syntax, you begin
changing your mind about that as well...

VB.NET seems to have quite a horrible history/legacy (at least when it
comes to good OO design), which is why many "oldschool" developers do
not use it.

Is there anything beyond that that makes it less useful than C#? I
mean, it is a first class language, after all, isn''t it?

Are there any tools out there that convert one language to the other,
project-wide, so that if a customer wants a C# solution, I can still
use it and convert it at the very last moment?



Byteschreck,


这是我比VB#更喜欢VB.Net的主要原因休息有

几乎没有差异。


这不仅是打字速度,还有优化的代码和


数据集ds =新数据集();
VB.Net中的


dim ds as New Dataset


我希望那个疯狂的昏暗不需要(视频)而不是更多

打字速度。


(另一件事是你可以毫无问题地嵌套更深而不是C#,

你不会相信第一眼看到的东西)


Cor


< ;来自bericht的********* @ googlemail.comschreef

新闻:11 ********************** @ d34g2000cwd.googlegr oups.com ...
Byteschreck,

That is the main reason I like VB.Net more than C#, for the rest there are
almost no differences.

It is not only typing speed, it are as well optimized code as

Dataset ds = new Dataset();
in VB.Net
dim ds as New Dataset

I wished that crazy dim was not needed (optinal) than it would be even more
typing speed.

(Another thing is that you can without problems nest much deeper than in C#,
something you would as well not believe on first sight)

Cor

<by*********@googlemail.comschreef in bericht
news:11**********************@d34g2000cwd.googlegr oups.com...

>我最近暂时从C#切换到VB.NET看看

差异是。


令我惊讶的是,我用VB.NET快得多*了。我不知道为什么,

按下shift键来大写字母会让我慢下来

极大地在每个声明之后输入一个分号,

没有智能自动完成和自动缩进而不是

有(邪恶,也许)声明......


我也是喜欢水平线,清楚地区分不同的

功能。我仍然认为如果你从Java / C ++中获得
后C#看起来更好(更简洁),但是在你习惯了VB.NET的语法之后,你就开始了

也改变了你的想法...


VB.NET似乎有相当可怕的历史/遗产(至少当它来了
来到良好的OO设计),这就是许多oldschool的原因。开发人员确实没有使用它。


除此之外还有什么东西能让它不如C#有用吗?我是b $ b意思是,它是一流的语言,毕竟不是吗?


是否有任何工具将一种语言转换为另一个,项目范围内的
,如果客户想要一个C#解决方案,我仍然可以使用它并在最后一刻转换它?
>I recently switched temporarily from C# to VB.NET to see what the
differences are.

To my surprise I am *much* faster with VB.NET. I don''t know why,
pressing the shift key to capitalize letters slows me down
tremendously, among having to type a semicolon after each statement,
not having intelligent auto-complete and auto-indentation and not
having the (evil, maybe) with statement ...

I also like the horizontal lines that clearly distinguish different
functions. I still think C# looks much nicer (less verbose) if you come
from Java/C++, but after you get used to VB.NET''s syntax, you begin
changing your mind about that as well...

VB.NET seems to have quite a horrible history/legacy (at least when it
comes to good OO design), which is why many "oldschool" developers do
not use it.

Is there anything beyond that that makes it less useful than C#? I
mean, it is a first class language, after all, isn''t it?

Are there any tools out there that convert one language to the other,
project-wide, so that if a customer wants a C# solution, I can still
use it and convert it at the very last moment?



9月。 10,2006


我可以用VB快速上百万行......我只是不擅长

记住套管。 :-)


至于代码转换器 - 我相信我在MSDN上看到一个作为

VS 05的样本.....尝试搜索MSDN。


和不,我认为没有任何问题会使VB比C#更有用


-


Joseph Bittman

微软认证解决方案开发商

微软最有价值专业人士 - DPM


博客/网站: http://CactiDevelopers.ResDev.Net/

< by ********* @ googlemail.comwrote in message

news:11 ********** ************@d34g2000cwd.googlegr oups.com ...
Sept. 10, 2006

I can go millions of lines faster with VB... I''m just not good at
remembering casing, either. :-)

As far as the code convertor - I believe I saw one on MSDN as a sample for
VS 05..... try searching MSDN.

And nope, I don''t think there are really any issues which make VB less
useful than C#.
--

Joseph Bittman
Microsoft Certified Solution Developer
Microsoft Most Valuable Professional -- DPM

Blog/Web Site: http://CactiDevelopers.ResDev.Net/
<by*********@googlemail.comwrote in message
news:11**********************@d34g2000cwd.googlegr oups.com...

>我最近暂时从C#切换到VB.NET看看

的差异是什么。


令我惊讶的是,我用VB.NET快得多*。我不知道为什么,

按下shift键来大写字母会让我慢下来

极大地在每个声明之后输入一个分号,

没有智能自动完成和自动缩进而不是

有(邪恶,也许)声明......


我也是喜欢水平线,清楚地区分不同的

功能。我仍然认为如果你从Java / C ++中获得
后C#看起来更好(更简洁),但是在你习惯了VB.NET的语法之后,你就开始了

也改变了你的想法...


VB.NET似乎有相当可怕的历史/遗产(至少当它来了
来到良好的OO设计),这就是许多oldschool的原因。开发人员确实没有使用它。


除此之外还有什么东西能让它不如C#有用吗?我是b $ b意思是,它是一流的语言,毕竟不是吗?


是否有任何工具将一种语言转换为另一个,项目范围内的
,如果客户想要一个C#解决方案,我仍然可以使用它并在最后一刻转换它?
>I recently switched temporarily from C# to VB.NET to see what the
differences are.

To my surprise I am *much* faster with VB.NET. I don''t know why,
pressing the shift key to capitalize letters slows me down
tremendously, among having to type a semicolon after each statement,
not having intelligent auto-complete and auto-indentation and not
having the (evil, maybe) with statement ...

I also like the horizontal lines that clearly distinguish different
functions. I still think C# looks much nicer (less verbose) if you come
from Java/C++, but after you get used to VB.NET''s syntax, you begin
changing your mind about that as well...

VB.NET seems to have quite a horrible history/legacy (at least when it
comes to good OO design), which is why many "oldschool" developers do
not use it.

Is there anything beyond that that makes it less useful than C#? I
mean, it is a first class language, after all, isn''t it?

Are there any tools out there that convert one language to the other,
project-wide, so that if a customer wants a C# solution, I can still
use it and convert it at the very last moment?


这篇关于C#与VB.NET:打字速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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