Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
Какие различия между этими языками? Какой язык выбрать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.04.2004, 08:28 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
авторКакой язык выбрать? Если нет опыта работы с В.Бэйсиком, то лучше C#. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.04.2004, 10:29 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
Эт точно! -- Tygra's -- ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.04.2004, 11:10 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
I had the same question \r \r /topic/89501 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.04.2004, 11:11 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
OOps..\r \r /topic/89501 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.04.2004, 11:12 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
Любите книгу - источник знаний. А там пишут параллельно на двух языках - Си и Бэйсик. А работодателю скажите, что на любом можете. Как устроетесь на работу - пишите на каком хотите. Работодателям надо побольше лапши вешать, понятно? У меня например прога на двух языках написана - одна часть на J#.NET, другая на VB.NET ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.04.2004, 11:10 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
авторУ меня например прога на двух языках написана - одна часть на J#.NET, другая на VB.NET А смысл? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.04.2004, 11:24 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
Чтобы извилин стало больше в голове. Понимаешь, надо как-то развиваться, жизнью интересоваться. Вот хочу часть программы на C#.NET написать, просто времени всё нету. Хочу сказать с Джавой этой гимор небольшой есть. Там ведь так же как и на Си нужно всё писать, соблюдая регистр. А на это время лишнее уходит. Я сначала на J#.NET писал. Потом меня начальство стало подгонять, пришлось перейти под VB.NET, так как там всё быстрее - пишешь код маленькими буквами, а он сам как по волшибству потом автоматически превращается в нужный регистр. К примеру создал переменную iX. В коде пишу ix. Потом смотрю, как интерпретатор исправит. Если исправит на iX, то значит порядок - душа радуется. А если не исправит, то как пить дать кавычки где-то забыл. Ну и button1 я пишу с маленькой буквы, а интерпретатор понимает, что это Button1 на самом деле. Короче после перехода с джавы на бэйсик жить стало легче и веселее. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.04.2004, 13:16 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
Ну не знаю, я с Делфи переходил на С#, мне как-то больше нравится, когда регистр различается. Строже это как-то. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.04.2004, 15:03 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
А я вот с Васика шестого, на Шарп перешел. И срегистром больше недели не парился, потом привык. И мне сейчас вмешательство среды в то что я пишу совсем не нужно. Просто имена переменным давай уникальные. Да и когда сам регистр соблюдаешь, действительно, строже все как то :). Сейчас уже и не замечаю. Да и полностью име никогда не пишу, пару букв - Ctrl+space - Таб. И никаких ошибок и никаких проблем и гораздо быстрее чем самому набивать. Хотя от языка это не зависит, но и проблема(?) регистра отпадает. Сейчас мне тоже так больше нравится :). Magnus ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.05.2004, 05:49 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
По-моему единственный случай, где VB удобней - это при программировании в Office 2003 ( но и то не всегда ) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.05.2004, 13:40 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
Na zapade tipichno platyat bolshe C-razrabotchikam chem VB ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.05.2004, 20:59 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
Почитайте вот это: 1. ==== Developer .NET Perspectives ==== by Bill Sheldon, bills@interknowlogy.com The Horse Race Between Visual Basic .NET and Visual C# .NET Visual Studio .NET provides four English-based languages: Visual Basic .NET, Visual C# .NET, Visual C++ .NET, and Visual J# .NET. One question that inevitably comes up when discussing the Windows .NET Framework is which programming language is the best to use. Because all four languages build on a common framework and run in a common environment, they support many of the same capabilities. However, of the four languages, only Visual Basic .NET and Visual C# .NET provide access to the Windows .NET Compact Framework and Visual Studio Tools for the Microsoft Office System. Thus, for the majority of developers, it's a two-horse race between Visual Basic .NET and Visual C# .NET. When you're trying to decide between Visual Basic .NET and Visual C# .NET, one piece of advice you might hear is that if you're familiar with Visual Basic (VB) 6.0 or Visual Basic for Applications (VBA), you should use Visual Basic .NET. Similarly, if you're familiar with C++, J++, or Java, you should use Visual C# .NET. However, in reality, the decision typically isn't that simple. Sometimes, people don't have significant experience with any development language. Other times, an organization is attempting to have everyone use the same language, but people in that organization are familiar with different languages. So what factors should you take into account when choosing a language? As I just noted, Visual Basic .NET and Visual C# .NET have many of the same features, so the selection of a language almost always de-evolves into a discussion of which you like better. Accordingly, no single feature present in one language will make this decision cut and dried. Thus, you need to look at the overall characteristics of each language you're considering. So, let's take a look at a way of categorizing languages. Many years ago, back when I was still a junior engineer, some really smart people decided to categorize programming languages into various generations based on key characteristics. The idea is that as programming languages evolve from machine-specific language closer to natural language, they're advancing through generations. The machine code associated with commands at the processor level is an example of a first-generation language (1GL). Second-generation languages (2GLs) consist of low-level languages, such as Assembly. You can write tight, fast-running code with 1GLs and 2GLs, but it comes at a high price. Writing and maintaining the code is time-consuming because of the languages' complexity. Unlike 2GLs, 3GLs consist of higher-level command languages that you compile down to 1GL code (i.e., machine code). C++ is an excellent example of a 3GL. C++ starts to bridge the gap from machine-oriented programming to human-oriented programming. You can use C++ to write code that addresses low-level system details, but C++ provides much higher-level system access. However, the ability to get at the lowest levels of the OS means that C++ is a complex implementation language, which makes it a dark horse in the programming-language race. If a language is classified as 4GL, it's closer to natural language than machine-specific language. Although you write commands that are closer to sentences, you have only limited access to the underlying system details. T-SQL and VB are commonly cited examples of a 4GL. Even before the .NET Framework, VB abstracted away the machine-specific details such as pointers, memory addresses, and memory management. As with natural language, VB isn't case sensitive. A 4GL tends to make programmers more productive, but at a cost: A 4GL tends to generate code that's generic or, in an interpretive environment, might not compile down to machine code, which causes the resulting application to consume more system resources. Languages in the last category, 5GL, concentrate less on words and more on visual elements. The idea is that instead of worrying about language and syntax, you develop solutions by manipulating components that are available as part of your environment. Whitehorse, which will debut with Visual Studio 2005 (formerly code-named Whidbey), will be a 5GL development engine. So where does Visual Basic .NET and Visual C# .NET fit in this programming-language scale? Visual Basic .NET is a 4GL, whereas Visual C# .NET is a 3+GL because Visual C# .NET keeps some of the lower-level workings exposed. These low-level capabilities, however, add to the complexity of using that language to design and implement projects. And those complexities exist regardless of whether or not a project implements low-level details. So, when compared with Visual Basic .NET, Visual C# .NET doesn't provide the same level of productivity. The bottom line is that the small differences in complexity between Visual C# .NET and Visual Basic .NET add up. Thus, Visual Basic .NET is a better implementation choice for most business projects, especially given that the .NET environment lets Visual Basic .NET run with the same speed and efficiency as the more complex alternatives. To this end, let's discuss a related consideration: the language compiler. The Visual Basic .NET compiler is a generation ahead of the Visual C# .NET compiler. The Visual Basic .NET team started with what was essentially a mature compiler (i.e., the VB 6.0 compiler). To adapt the VB 6.0 compiler to Visual Basic .NET, the team mainly concentrated on updating the syntax and runtime environment. The advantage of having a mature compiler from which to build is reflected in many of the Visual Basic .NET compiler's features. For example, with the Visual Basic .NET compiler, you can compile as you type. And in Visual Studio 2005, the Visual Basic .NET compiler will have edit-and-resume capability, which means that you can edit and continue your execution of your compiled code. These features are in the Visual Basic .NET compiler before the Visual C# .NET compiler because even though portions of the Visual Basic .NET compilation engine had to be reworked, the underlying ideas were already present in the compiler's design. I'm not saying that Visual Basic .NET's compiler and generation level make it superior to the other languages in every situation. However, in the end, the same productivity-oriented features that made VB the most popular development language in the world make Visual Basic .NET the best choice for the majority of projects today. Thus, whether you're starting out with .NET as your first programming environment (so existing familiarity with a given syntax isn't a factor) or whether you're attempting to select a language that lets your organization be more productive, I recommend that you use Visual Basic .NET. If you'd like more information about programming languages, check out these links: - For an overview of programming language generations, go to http://whatis.techtarget.com/definition/0,,sid9_gci211502,00.html - For a basic discussion of how Microsoft sees each .NET language's role, check out http://msdn.microsoft.com/vstudio/productinfo/whitepapers/default.aspx http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxgrflanguageequivalents.asp - For a basic feature comparison between Visual Basic .NET and Visual C# .NET, go to http://blogs.msdn.com/csharpfaq/archive/2004/03/11/87816.aspx - For an introduction to Whitehorse, I recommend watching MSDN TV at http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20040129vstudioat/manifest.xml Finally, as part of this commentary, I should disclose that I'm a contributing author to "Professional VB.NET" from Wrox. However, that contribution has in no way influenced my analysis. I've worked with all types of languages, including Visual C++ .NET and Visual C# NET. In fact prior to the release of .NET I spent more time working with C++ then working with VB. The fact is that, when all else is equal, Visual Basic .NET is a better selection for productivity reasons. As developers, our job isn't to work at the lowest level but to create solutions and be productive--goals that Visual Basic .NET is uniquely positioned to help us accomplish. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2004, 03:54 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
2 mikhail_n Ты что! Это же вражий буржуйский язык! А я ещё Промт себе не поставил. :-) mikhail_n , переведи на русский, почитаю тогда. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2004, 09:06 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
2 Magnus23 Зачем с Васика на Шарп переходил? Может лучше было подучить Win API 32 (и возможно Assembler) и JavaScript? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2004, 15:38 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
Что думаю я: теперь VB практически не отличается от C#. Он теперь объектно-ориентированный, например. И вся разница - только в синтаксисе. Кто-то любит ковыряться в сишных скобках, кому-то нравится бейсиковские английские слова. Лично мне по барабану, на чем писать. Конечно, какие-то вещи без специфичных сишных приблуд написать не получится, однако выбор - вами. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2004, 15:46 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
А разве в VB есть указатели, например? Сорри, если не прав... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2004, 17:47 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
2 KnowALL Могу указать в VB на объект, на кусок оперативной памяти и т.д. Могу указать на всё, так как все средста Win API 32 подвластны VB. Для этого возможно потребуется задекларировать нужную функцию, сославшись на библиотеку kernel32 или подключить библиотеку типов. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.05.2004, 19:56 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
А я с Делфи переходил на VB.NET, так синтаксис был для меня ближе. А теперь на новой работе придется переходить на C#, так как того требуют практически все заказчики. :( ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.05.2004, 03:32 |
|
||
|
C#.NET or VB.NET
|
|||
|---|---|---|---|
|
#18+
2 set79 Переходи, думаю этот переход будет проще пареной репы. Но это и хорошо, суди сам: знаешь дельфи - значит знаешь паскаль (твои программы будут красивыми и грамотными), знаешь бейсик - значит знаешь VBA (весь офис у тебя на ладони), знаешь си - легче будет справиться с JavaScript (интернет станет твоим). ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.05.2004, 09:24 |
|
||
|
|

start [/forum/topic.php?fid=18&msg=32517217&tid=1395623]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
30ms |
get topic data: |
8ms |
get forum data: |
3ms |
get page messages: |
40ms |
get tp. blocked users: |
1ms |
| others: | 243ms |
| total: | 354ms |

| 0 / 0 |
