powered by simpleCommunicator - 2.0.59     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / C#.NET or VB.NET
22 сообщений из 22, страница 1 из 1
C#.NET or VB.NET
    #32501793
Samir
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Какие различия между этими языками?
Какой язык выбрать?
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32502006
Фотография hDrummer
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
авторКакой язык выбрать?
Если нет опыта работы с В.Бэйсиком, то лучше C#.
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32502101
Фотография tygra
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Эт точно!

-- Tygra's --
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32502106
Sergey Ch
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
I had the same question \r
\r
/topic/89501
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32502109
Sergey Ch
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
OOps..\r
\r
/topic/89501
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32503980
Фотография Max Pro
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Любите книгу - источник знаний. А там пишут параллельно на двух языках - Си и Бэйсик. А работодателю скажите, что на любом можете. Как устроетесь на работу - пишите на каком хотите.
Работодателям надо побольше лапши вешать, понятно?
У меня например прога на двух языках написана - одна часть на J#.NET, другая на VB.NET
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32504031
Фотография hDrummer
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
авторУ меня например прога на двух языках написана - одна часть на J#.NET, другая на VB.NET
А смысл?
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32504401
Фотография Max Pro
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Чтобы извилин стало больше в голове. Понимаешь, надо как-то развиваться, жизнью интересоваться. Вот хочу часть программы на C#.NET написать, просто времени всё нету. Хочу сказать с Джавой этой гимор небольшой есть. Там ведь так же как и на Си нужно всё писать, соблюдая регистр. А на это время лишнее уходит. Я сначала на J#.NET писал. Потом меня начальство стало подгонять, пришлось перейти под VB.NET, так как там всё быстрее - пишешь код маленькими буквами, а он сам как по волшибству потом автоматически превращается в нужный регистр. К примеру создал переменную iX. В коде пишу ix. Потом смотрю, как интерпретатор исправит. Если исправит на iX, то значит порядок - душа радуется. А если не исправит, то как пить дать кавычки где-то забыл. Ну и button1 я пишу с маленькой буквы, а интерпретатор понимает, что это Button1 на самом деле. Короче после перехода с джавы на бэйсик жить стало легче и веселее.
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32504666
Фотография hDrummer
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Ну не знаю, я с Делфи переходил на С#, мне как-то больше нравится, когда регистр различается. Строже это как-то.
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32505818
Фотография Magnus23
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
А я вот с Васика шестого, на Шарп перешел. И срегистром больше недели не парился, потом привык. И мне сейчас вмешательство среды в то что я пишу совсем не нужно. Просто имена переменным давай уникальные. Да и когда сам регистр соблюдаешь, действительно, строже все как то :). Сейчас уже и не замечаю. Да и полностью име никогда не пишу, пару букв - Ctrl+space - Таб. И никаких ошибок и никаких проблем и гораздо быстрее чем самому набивать. Хотя от языка это не зависит, но и проблема(?) регистра отпадает. Сейчас мне тоже так больше нравится :).

Magnus
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32514718
Valery Shiskin
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
По-моему единственный случай, где VB удобней - это при программировании
в Office 2003 ( но и то не всегда )
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32517102
Emil_78
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Na zapade tipichno platyat bolshe C-razrabotchikam chem VB
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32517217
mikhail_n
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Почитайте вот это:

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.
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32517311
Фотография Max Pro
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
2 mikhail_n
Ты что! Это же вражий буржуйский язык!
А я ещё Промт себе не поставил.
:-)
mikhail_n ,
переведи на русский, почитаю тогда.
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32518423
Фотография Max Pro
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
2 Magnus23
Зачем с Васика на Шарп переходил?
Может лучше было подучить Win API 32 (и возможно Assembler) и JavaScript?
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32518452
KnowALL
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Что думаю я:

теперь VB практически не отличается от C#. Он теперь объектно-ориентированный, например. И вся разница - только в синтаксисе. Кто-то любит ковыряться в сишных скобках, кому-то нравится бейсиковские английские слова.

Лично мне по барабану, на чем писать.

Конечно, какие-то вещи без специфичных сишных приблуд написать не получится, однако выбор - вами.
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32518536
Фотография Max Pro
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
To KnowALL
Это какие-такие вещи у меня не получится написать без сишных приблуд?
Просьба ответить
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32518749
KnowALL
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
А разве в VB есть указатели, например? Сорри, если не прав...
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32518922
Фотография Max Pro
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
2 KnowALL
Могу указать в VB на объект, на кусок оперативной памяти и т.д.
Могу указать на всё, так как все средста Win API 32 подвластны VB.
Для этого возможно потребуется задекларировать нужную функцию, сославшись на библиотеку kernel32 или подключить библиотеку типов.
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32519558
set79
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
А я с Делфи переходил на VB.NET, так синтаксис был для меня ближе. А теперь на новой работе придется переходить на C#, так как того требуют практически все заказчики. :(
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32519687
Фотография Max Pro
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
2 set79
Переходи, думаю этот переход будет проще пареной репы.
Но это и хорошо, суди сам:
знаешь дельфи - значит знаешь паскаль (твои программы будут красивыми и грамотными), знаешь бейсик - значит знаешь VBA (весь офис у тебя на ладони), знаешь си - легче будет справиться с JavaScript (интернет станет твоим).
...
Рейтинг: 0 / 0
C#.NET or VB.NET
    #32529507
set79
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
> интернет станет твоим

И зовите меня Гейтс. Билл Гейтс
...
Рейтинг: 0 / 0
22 сообщений из 22, страница 1 из 1
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / C#.NET or VB.NET
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]