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. :mad:
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. :afrog:
Edit : Almost forgot :blush: , please give a simple example.
Re: Which Programming features from other Languages do you miss most?
A MySQL 4.1 function that was supposed to be there in MySQL 4.1. :mad:
Doesn't allow the limit subquery:
Code:
...NOT IN(SELECT date FROM shoutbox ORDER BY date DESC LIMIT 1)...
:mad: :mad:
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 :rolleyes:
I hope they do away with case sensitivity everywhere.
getvalue = Getvalue = getValue = GetValue !!!!!
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.
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!! :mad:
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
Re: Which Programming features from other Languages do you miss most?
Quote:
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.
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.
:D