473,770 Members | 6,158 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Not Another C# Versus VB Article (It has a lot to say about Anders and Delphi)

38 1741
Will intellisense automatically stick a semi-colon at the end of a
statement? ;)

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:uC******** ******@TK2MSFTN GP15.phx.gbl...
Cor,

"Cor Ligthert" <no************ @planet.nl> schrieb:
The IDE support for C# (except the lack of a background-compiler for C#)
is AFAIS better than the support for VB in VS 2005 :-(((.


I find the main point of VBNet, the backgroundcompi ler, which include for
me as well autocomplete. What are the new benefits from the IDE from C#
that outclasses VBNet.


C# will have much better IntelliSense, more syntax-highlighting and code
formatting options, SmartTags for inserting 'using', ...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #21
"Robin Tucker" <id************ *************@r eallyidont.com> schrieb:
Will intellisense automatically stick a semi-colon at the end of a
statement? ;)


AFAIK no, but it will help you to type keywords, similar to how it's
currently available for parts of VB.NET's 'Declare' statement.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #22
Robin,

For me is not the adding of a semicolon, however inteligent keeping the
opening and clossing of paragraphs.

I like every day more that when I set an "if then" that there is than
automaticly created an end if. I see that with VBNet I even am nesting more
than I did in past.

I wished that in C# was that when I typed an "{" there was automatic an "}"
in place.

Cor
Nov 21 '05 #23
If you want a blast from the past, how about Turbo Pascal 5.5?
http://community.borla nd.com/all/0,1435,museum|0 |30,00.html

"Doug Taylor" <Do************ @tayNOSPAMmade. demon.co.uk> wrote in message
news:0b******** *************** *********@4ax.c om...
On Fri, 20 May 2005 12:47:54 +1000, "Arjang"
<Ar************ ****@NotTheReal Part.zorg> wrote:
http://www.codeproject.com/useritems/CSharpVersusVB.asp

There are a few inaccuracy in the article as regards the history of
Borland Pascal, which it claims was the first commercially available
Pascal.

For the record USCD was available prior to Borland Pascal 3 and of
course Anders and Niels Kompass Pascal 1 and 2 predate Phillipe Kahn
persuading them to remarket the company as Borland (appearing to be
American rather than European) and selling the product cheaply, if I
remember correctly the UK price was Ł35 as compared to Ł250 for
version 2, with a restrictive license.

Doug Taylor

Nov 21 '05 #24
Yes, i have learned over time that nesting is generally bad for readability
and maintainability in any case. I try to unitise tests, even if it means
the same test might be repeated twice in a block - as a stupid noddy example
(note, I tend to do this when there are 2 or 3 or more nesting levels,
rather than this examples):
If aThing and not bThing Then
' Do thing 1
End If

If aThing Then
' Do thing 2
End If

rather than:
If aThing Then

If not bThing Then
' Do thing 1
End If

' Do thing 2

End If
"Cor Ligthert" <no************ @planet.nl> wrote in message
news:%2******** *******@TK2MSFT NGP09.phx.gbl.. .
Robin,

For me is not the adding of a semicolon, however inteligent keeping the
opening and clossing of paragraphs.

I like every day more that when I set an "if then" that there is than
automaticly created an end if. I see that with VBNet I even am nesting
more than I did in past.

I wished that in C# was that when I typed an "{" there was automatic an
"}" in place.

Cor

Nov 21 '05 #25
Robin,

In your sample is in my opinion not much need for nesting.

However, there are a lot of situations, where a good nested written program
is much more readable than those from people who have force themselves not
to use that.

However just my thought,

Cor

Nov 21 '05 #26
On Tue, 24 May 2005 15:36:19 +0200, "Cor Ligthert"
<no************ @planet.nl> wrote:
Robin,

In your sample is in my opinion not much need for nesting.

However, there are a lot of situations, where a good nested written program
is much more readable than those from people who have force themselves not
to use that.

However just my thought,

Cor

I would agree with Cor, but it is a matter of personal preference, I
prefer nesting rather than having complicated if clauses, I find I'm
less likely to make mistakes that way. I find it easier to read my
intentions later and easier to comment the code.

Doug Taylor

Nov 21 '05 #27

Yes, it's better for reading intentions to use nesting. But changing the
intention may be more difficult. I think IF nesting complexity is a common
quality metric (although it all depends on the situation).

"Doug Taylor" <Do************ @tayNOSPAMmade. demon.co.uk> wrote in message
news:u7******** *************** *********@4ax.c om...
On Tue, 24 May 2005 15:36:19 +0200, "Cor Ligthert"
<no************ @planet.nl> wrote:
Robin,

In your sample is in my opinion not much need for nesting.

However, there are a lot of situations, where a good nested written
program
is much more readable than those from people who have force themselves not
to use that.

However just my thought,

Cor

I would agree with Cor, but it is a matter of personal preference, I
prefer nesting rather than having complicated if clauses, I find I'm
less likely to make mistakes that way. I find it easier to read my
intentions later and easier to comment the code.

Doug Taylor

Nov 21 '05 #28
Hi Doug,

"Doug Taylor" <Do************ @tayNOSPAMmade. demon.co.uk> wrote in message
news:0b******** *************** *********@4ax.c om...
On Fri, 20 May 2005 12:47:54 +1000, "Arjang"
<Ar************ ****@NotTheReal Part.zorg> wrote:
http://www.codeproject.com/useritems/CSharpVersusVB.asp

There are a few inaccuracy in the article as regards the history of
Borland Pascal, which it claims was the first commercially available
Pascal.

For the record USCD was available prior to Borland Pascal 3 and of
course Anders and Niels Kompass Pascal 1 and 2 predate Phillipe Kahn
persuading them to remarket the company as Borland (appearing to be
American rather than European) and selling the product cheaply, if I
remember correctly the UK price was Ł35 as compared to Ł250 for
version 2, with a restrictive license.

Doug Taylor


I bought a copy of Apple Pascal ca 1984. This was a version of the UCSD
pcode system. I paid $500 US for it ;) back then. What a world :).

Charles
Nov 21 '05 #29
"Earl" <br******@newsg roups.nospam> schrieb:
How about translating the entire post!?


I feel sorry, but I currently don't have enough time to do that...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #30

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
4807
by: surfunbear | last post by:
I've read some posts on Perl versus Python and studied a bit of my Python book. I'm a software engineer, familiar with C++ objected oriented development, but have been using Perl because it is great for pattern matching, text processing, and automated testing. Our company is really fixated on risk managnemt and the only way I can do enough testing without working overtime (which some people have ended up doing) is by automating my...
14
3980
by: Hafez | last post by:
Hi there every body I'm new in programming in windows. I know how to program with C and C++ in DOS but I don't know select which one for programming in windows: Visual C++ ,C# or Delphi. thanks.
6
3169
by: Erva | last post by:
Hi, Is there someone who has moved from Delphi to VS.NET? I'am using Delphi currently but seriously considering to moving VS.NET. I would like to hear if someone has already done that, is it worth of it or should i continue to ude Delphi for new projects. I'am developing mostly desktop apps but in th future also ASP.NET apps. -erva
48
3524
by: Andrew Quine | last post by:
Hi Just read this article http://www.artima.com/intv/choices.html. Towards the end of the dicussions, when asked "Did you consider including support for the concept of immutable directly in C# and the CLR?" Anders' reply included this comment: "The concept of an immutable object is very useful, but it's just up to the author to say that it's immutable."
3
2369
by: lukeharpin | last post by:
Currently I have been developing applications in Delphi 7. Recently I meet up with a friend of mine who previously developed in Delphi, from version 1 - 7. When Delphi 8 .net was release he found too many bugs and switch to C# and loves it. I hope to do the same. However, I have a few hurdles to jump. Firstly my boss is a Delphi nut. I have heard the guy who originally developed Delphi worked on the development of C# ? If so this maybe...
21
1963
by: matko | last post by:
As far as I can see, there is no similar way of replicating the following Delphi-code in C#... Is that true? type IntRange = -5..5; CharRange = 'a'..'z'; TColors = (Red, White, Green, Blue, Yellow); ColorRange = White..Blue;
135
7524
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about which is better. It has become what's known as “religious war” — a heated fight over trivia. In this essay, i like to explain what is the situation behind it, and which is proper.
7
2437
by: dktekno | last post by:
I have tried C++ Builder and Delphi and Visual Studio. What are the reasons people do not like Delphi and would rather develop in C++? C++ compilers are so.. pedantic and so slowy. In Pascal there is a room for errors like typos, like if you declared a variable A and then you write a later, then it understands what you mean. C++ is case sensitive. C++ is slow to compile. Few lines = slow compilation. In Delphi, the compile time is rather...
14
3888
by: ApexData | last post by:
I am considering building some distributable commercial applications. For about a year now, I have been using Access2000. This was my first venture into object oriented database development. Having a background in Pascal and some C++, I would have preferred those languages, but VBA made do. The SQL was fine. I believe that Security issues on the backend, and data integrity/ corruption complaints over the network may be a stumbling...
0
9592
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8887
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7416
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6679
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5452
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3972
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2817
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.