VB.NET Beginner

What language is VB and VB.NET most comparable to?

Page 1 of 1

4 Replies - 2065 Views - Last Post: 26 July 2008 - 11:24 PM Rate Topic: -----

#1 chaoticabyss99  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 94
  • Joined: 14-June 08

VB.NET Beginner

Posted 26 July 2008 - 01:28 AM

I'm about to take User Interface Design this fall in college (using VB and/or VB.NET) and was wondering what language it is most like. I have taken 2 Java courses, 2 COBOL courses, 1 SQL course, and 1 C++ course. I had the easiest time with COBOL, however, the others gave me a lil trouble.

Please advise.
Is This A Good Question/Topic? 0
  • +

Replies To: VB.NET Beginner

#2 WayneSpangler  Icon User is offline

  • D.I.C Head

Reputation: 22
  • View blog
  • Posts: 106
  • Joined: 22-March 08

Re: VB.NET Beginner

Posted 26 July 2008 - 03:20 AM

It's been 30-40 years since I worked in COBOL (didn't know they still taught it). But, stretching it, I would say Basic is closer to COBOL then any of the others. Java and c++ have similar syntax. SQL is complete different from any of them.
Was This Post Helpful? 0
  • +
  • -

#3 narmer93  Icon User is offline

  • D.I.C Regular

Reputation: 8
  • View blog
  • Posts: 317
  • Joined: 13-March 08

Re: VB.NET Beginner

Posted 26 July 2008 - 04:36 AM

if u want the closest language to vb or vb.net so it is c#
there are some similarities as in
button1.text="fdgfdg"
^vb.net
button1.text=dfsdf";
^c#
and beside some differences in the if statements and others ,in c# u will probably see alot of (; { })
these things are mostly in java too
but it refers to u and in the end it is ur choise
Was This Post Helpful? 0
  • +
  • -

#4 indrora  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 100
  • Joined: 25-July 08

Re: VB.NET Beginner

Posted 26 July 2008 - 11:50 AM

vb and vb.net are much like python really in many ways.
Python:
class foo:
		def bar(self, baz):
			  print("My name is "+baz)


VB.net:
class foo
		sub bar(byref baz as string)
			  console.writeLine("My Name Is "+baz)
		end sub
end class



the change in indentation is an "end" in python...

However i will agree that in many ways C# is like vb.net. It shares many of the things that make .NET so simple a framework to use.

However in C# you declare variables differently:
string foo = "";

whilst in vb you say
dim foo as string = ""

and in python you just say
foo = ""


When I work in C# I have to get out of a VB mindset and vice-versa.
Was This Post Helpful? 0
  • +
  • -

#5 chaoticabyss99  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 94
  • Joined: 14-June 08

Re: VB.NET Beginner

Posted 26 July 2008 - 11:24 PM

Thank you all for your input!!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1