Programming code that is written so poorly that it could only have been written by someone after that person drank an entire bottle of vodka. It runs without error, however, it may be overly inefficient, useless, or a re-implementation of a function that already exists as part of the programming language.
VBScript example written in VodkaScript:
Function CleanQuotes(InputString)
Dim OutputString
Dim Position
For Position = 1 to Len(InputString)
If Mid(InputString, Position, 1) = "'" Then
OutputString = OutputString & "''"
Else
OutputString = OutputString & Mid(InputString, Position, 1)
End If
Next
CleanQuotes = OutputString
End Function
----------------
VBScript sample written correctly using built-in function:
Dim strVariable ' contains some unwanted character
strVariable = Replace(strVariable, "(unwanted character)", "(replacement character(s))")
Where (unwanted character) is any character(s). i.e. '",@!$ (in the case of a double-quote, use two double-quotes)
----------------
The way that the VodkaScript sample above should have been written, for efficiency and re-use, is:
Function CleanQuotes(InputString)
CleanQuotes = Replace(InputString, "'", "''")
End Function
Function CleanQuotes(InputString)
Dim OutputString
Dim Position
For Position = 1 to Len(InputString)
If Mid(InputString, Position, 1) = "'" Then
OutputString = OutputString & "''"
Else
OutputString = OutputString & Mid(InputString, Position, 1)
End If
Next
CleanQuotes = OutputString
End Function
----------------
VBScript sample written correctly using built-in function:
Dim strVariable ' contains some unwanted character
strVariable = Replace(strVariable, "(unwanted character)", "(replacement character(s))")
Where (unwanted character) is any character(s). i.e. '",@!$ (in the case of a double-quote, use two double-quotes)
----------------
The way that the VodkaScript sample above should have been written, for efficiency and re-use, is:
Function CleanQuotes(InputString)
CleanQuotes = Replace(InputString, "'", "''")
End Function
by EJT September 14, 2008
Get the VodkaScript mug.A mixed drink consisting of vodka and beer. Generally only made with the cheapest and lowest quality ingredients.
1: "What the hell are you making?"
2: "Vodkabeer"
1: "That looks disgusting"
2: "It's really not. Here, try some."
1: "Oh wow, that's not bad at all!"
2: "Vodkabeer"
1: "That looks disgusting"
2: "It's really not. Here, try some."
1: "Oh wow, that's not bad at all!"
by Adrnshw6 April 19, 2010
Get the Vodkabeer mug.Related Words
Vodka • vodka shits • Vodka Vag • Vodkaholic • vodka and tonic • vodka aunt • Vodka Cock • Vodka Dick • Vodka Diet Coke • Vodka Fever
by Tevia October 4, 2006
Get the Vodak mug.A name in Turkish which means Volcano. A very cool name that only Turkish people use this word as a name.
by Hyakkimaru March 10, 2005
Get the volkan mug.Someone who is obsessed with Russia/Russian Culture/Gopniks, etc. and attempts to act as if they were Russian, even though they're far from it. They use Russian words but usually end up pronouncing them wrong and sounding like total assholes. You can find a lot of these faggots clogging up the forums of S.T.A.L.K.E.R,hanging out in a apartment complex, or crowding around the bin fire of your local village.
That man asked me for a cigarette I refused and he assaulted me and screamed "CYKA BYLAT ". Must be a Vodkaphile
by JewishChild November 27, 2016
Get the Vodkaphile mug."Hey dude you've got to try some of this vodkorn"
"What the fuck is vodkorn, you moron?"
"It's popcorn that's been drenched with vodka and left to dry"
"MUST HAVE"
"What the fuck is vodkorn, you moron?"
"It's popcorn that's been drenched with vodka and left to dry"
"MUST HAVE"
by BBarash February 15, 2010
Get the Vodkorn mug.by Stupid Meme Hater November 25, 2006
Get the vodak mug.