|
-
Jul 14th, 2006, 04:23 AM
#1
Thread Starter
Hyperactive Member
Which Programming features from other Languages do you miss most?
One feature that I miss was being able to declare variables and types in between procedures in Modula-2
It meant I could declare a number of records and have the procedures to Blank them together.
If I try this in VBA then I get a Compile Error.
VB Code:
Public Type TDates
EffectiveDate as Date
RevisionDate as Date
End Type
Sub BlankTDates(ByRef TOD as TDates)
TOD.EffectiveDate = #1/1/1900#
TOD.RevisionDate = #1/1/1900#
End Sub
Public Type TPerson
Name as string
BirthDay as date
Phone as String
End Type
Sub BlankTPerson (ByRef TP as TPerson)
TP.Name = ""
TP.BirthDay = #1/1/1900#
TP.Phone = ""
End Sub
So what feature do you miss most, and what language is it from. 
Edit : Almost forgot , please give a simple example.
Signature Under Construction 
-
Jul 14th, 2006, 06:10 AM
#2
Hyperactive Member
Re: Which Programming features from other Languages do you miss most?
-
Jul 14th, 2006, 10:04 AM
#3
Fanatic Member
Re: Which Programming features from other Languages do you miss most?
Case Insensitivity in VB.anything. C# is case SENSITIVE, although, the intellisense in VS2005 is still NOT case sensitive.
Very helpful 
I hope they do away with case sensitivity everywhere.
getvalue = Getvalue = getValue = GetValue !!!!!
-
Jul 14th, 2006, 10:07 AM
#4
Re: Which Programming features from other Languages do you miss most?
Microsoft asked C# developers if they wanted case insensitivity. They said no (the pompous premadonnas). They're used to it and preffer it.
-
Jul 14th, 2006, 10:42 AM
#5
Hyperactive Member
Re: Which Programming features from other Languages do you miss most?
Oh and my example may not be a programming language, but it ticked me right off!!
-
Jul 14th, 2006, 10:57 AM
#6
Fanatic Member
Re: Which Programming features from other Languages do you miss most?
I hate COBOL but there is one thing it does better than VB.
Rather than say
VB Code:
If strName = "David" or strName = "Peter" or strName = "John" Then
You could say something like
VB Code:
If strName = "David" or "Peter" or "John" Then
-
Jul 14th, 2006, 11:02 AM
#7
Re: Which Programming features from other Languages do you miss most?
 Originally Posted by The_Grudge
I hate COBOL but there is one thing it does better than VB.
Rather than say
VB Code:
If strName = "David" or strName = "Peter" or strName = "John" Then
You could say something like
VB Code:
If strName = "David" or "Peter" or "John" Then
Probably one of the only things that ticks me off about VB to be honest.
-
Jul 14th, 2006, 12:11 PM
#8
Re: Which Programming features from other Languages do you miss most?
Stop whining about case sensitivity. It makes you sound like a complete beginner.
And please stop pretending that VB is useful for anything more than wasting clock cycles.
I don't live here any more.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|