简体   繁体   English

保持VB.NET与学习C ++

[英]Keeping VB.NET vs learning C++

EDITED... EDITED ...

I posted a similar question about VB and C#. 我发布了一个关于VB和C#的类似问题。 The question here is slightly different, considering the differences between VB.NET and C++ are greater than those between VB.NET and C#. 考虑到VB.NET和C ++之间的差异大于VB.NET和C#之间的差异,这里的问题略有不同。

Do I stick with my sort-of working knowledge of VB.NET and learn it thoroughly or skip to C++? 我是否坚持使用VB.NET的各种工作知识并彻底学习或跳到C ++?

EDIT 2: 编辑2:

I am familiar with Actionscript syntax and Java syntax, both of which are similar to C/C++ in a way. 我熟悉Actionscript语法和Java语法,两者在某种程度上类似于C / C ++。 Also, I have experience with Javascript and PHP. 此外,我有Javascript和PHP的经验。 Does that help me? 这对我有帮助吗?

EDIT 3: 编辑3:

I plan on learning Objective-C. 我打算学习Objective-C。 That is not up for discussion. 这不是讨论的问题。 I have started a bit already. 我已经开始了一点。 Does that help/hurt C++ learning? 这有助于/伤害C ++学习吗?

It depends entirely on what you want to accomplish. 这完全取决于你想要完成的事情。 You are right, C++ and VB are two completely different languages and have quite a few fundamental differences (managed vs. unmanaged being a major one that comes to mind...). 你是对的,C ++和VB是两种完全不同的语言,并且有很多根本的区别(托管与非托管是一个让人想到的主要版本......)。 That said, if you are just doing some basic windows programming or web development (in ASP.NET) I would stick with VB.Net, there really isn't much reason to struggle with trying to learn C++ for that. 也就是说,如果你只是做一些基本的Windows编程或Web开发(在ASP.NET中),我会坚持使用VB.Net,没有太多理由为尝试学习C ++而苦苦挣扎。 If you are simply wanting to learn or are wanting to do something that necessitates insane performance, than you probably want to explore C++. 如果你只是想学习或者想要做一些需要疯狂表现的事情,那么你可能想要探索C ++。 It really depends on what you are wanting to do with it. 这真的取决于你想要用它做什么。 (That's my opinion though, I'm sure you'll get a variety here :-) ) (这是我的意见,但我相信你会在这里得到各种各样的东西:-))

Edit: Based on what you said, if you want to do something that necessitates C++, then you really don't have much choice. 编辑:根据你所说的,如果你想做一些需要C ++的事情,那么你真的没有太多选择。 Java is syntactically similar to C++ however they are by no means the same. Java在语法上与C ++类似,但它们绝不相同。 Some of the biggest headaches (in my opinion) and gotchas associated with C++ stem from having to manage your own memory which Java takes care of for you. 一些最令人头痛的问题(在我看来)和与C ++相关的问题源于必须管理自己的内存,而Java会为您解决这些问题。 I wouldn't chose a language based on syntax alone, that isn't nearly as hard to learn and wrap your head around as some of the idiosyncrasies of the language implementation itself. 我不会单独选择一种基于语法的语言,这种语言并不像学习语言实现本身的某些特性那样难以学习。 As an aside, if you are wanting to do iPhone apps, check out Titanium Appcelerator which allows you to write iPhone apps in HTML5/Javascript and then translates that to native code. 顺便说一句 ,如果你想要做iPhone应用程序,请查看Titanium Appcelerator ,它允许你用HTML5 / Javascript编写iPhone应用程序,然后将其转换为本机代码。 That would allow you to leverlage your javascript knowledge without having to learn a new language. 这样您就可以在不必学习新语言的情况下掌握您的javascript知识。

The easy answer is, no, it does never hurt to learn another language. 简单的答案是,不,学习另一种语言永远不会受到伤害。 Especially if you're coming from a high-level language like *.NET to a low-level language like C++. 特别是如果您从像* .NET这样的高级语言转换为像C ++这样的低级语言。 The hard part is to get both languages right and/or master both. 困难的部分是让两种语言都正确和/或掌握。

I would skip C++.NET, unless you absolutely need a lot of direct access to unmanaged resources. 我会跳过C ++ .NET,除非你绝对需要大量直接访问非托管资源。

FYI. 仅供参考。 there is nothing called C++.NET. 没有什么叫做C ++ .NET。 You might be referring to C++/CLI. 您可能指的是C ++ / CLI。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM