Programming's Foul Language
-
DBNull.Value
Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)
Right?! I'm sick and tired of that silly thing, why by the most nebulous star shine weren't they able to make it equal to DBNull or just plain null?!
If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?
-
Oh right... Good point. Let's steal that for C# too.
Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)
Next you'll be wanting to drop the semicolon and case sensitivity.
-
Actually, I'd rather like the
with
statement as well."WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
No! The only time I've wanted something like that was when trying to copy values from one instance(?) to another
A.X = B.X
andwith
only saves typing one of the names, I'd want to save bothwith ( A , B ) X = X
(or something) -
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
APL. RPG. Java.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
Next you'll be wanting to drop the semicolon and case sensitivity.
Drop the semi-colon? And be forced _ to resort to VB's _ horrible style of _ line continuations!?!? No thanks. Though the case sensitivity... I wouldn't have to deal with code where people name the private variables the same as the exposed properties, with just case differences... Or better yet, gems like:
int num = Num + NUM;
Thankfully, I've never actually seen a line that bad, but imagine a program written like that... There's something you can't do in VB.
Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)
-
"Brain F$%k" is pretty foul [^]
BF doesn't hold a candle to Malbolge[^] for horror. "Malbolge was so difficult to understand when it arrived that it took two years for the first Malbolge program to appear. The program was not even written by a human being: it was generated by a beam search algorithm designed by Andrew Cooke and implemented in Lisp." "it took many years before the first non-terminating one was introduced. A correct 99 Bottles of Beer program, which deals with non-trivial loops and conditions, was not announced for eight years; the first correct one was by Hisashi Iizawa in 2007." (this isn't talking about adding a language feature; this is just figuring out how to do it in the existing malbolge language.)
The European Way of War: Blow your own continent up. The American Way of War: Go over and help them.
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
Extension Method.
-
No! The only time I've wanted something like that was when trying to copy values from one instance(?) to another
A.X = B.X
andwith
only saves typing one of the names, I'd want to save bothwith ( A , B ) X = X
(or something)There are times that I'd like
with (MyClass myClass = new myClass())
{
.Value = 10;
.ComputeValues(22);
with (.Nodes)
{
.InsertItem(10, 20);
}
}"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
There are times that I'd like
with (MyClass myClass = new myClass())
{
.Value = 10;
.ComputeValues(22);
with (.Nodes)
{
.InsertItem(10, 20);
}
}"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
You can do it with object initializers can't you?
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
COM
-
BF doesn't hold a candle to Malbolge[^] for horror. "Malbolge was so difficult to understand when it arrived that it took two years for the first Malbolge program to appear. The program was not even written by a human being: it was generated by a beam search algorithm designed by Andrew Cooke and implemented in Lisp." "it took many years before the first non-terminating one was introduced. A correct 99 Bottles of Beer program, which deals with non-trivial loops and conditions, was not announced for eight years; the first correct one was by Hisashi Iizawa in 2007." (this isn't talking about adding a language feature; this is just figuring out how to do it in the existing malbolge language.)
The European Way of War: Blow your own continent up. The American Way of War: Go over and help them.
:omg: Thanks for the info. I rather be flippin burgers at Macdonald than code in that abomination. Thank god for C# :-D
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
option explicit
option base 1
on error resume next
#define
(Macro with parameters, for super-awesome side-effects!)The StartPage Randomizer - The Windows Cheerleader - Twitter
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
-
You can do it with object initializers can't you?
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
Parts of it - you can't do method invocation with it.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
something something {
more of that something
}
I know some like this kind of brace style but personally I can't stand it at all. It goes so far that I tend to reformat a piece of code with this brace style before reading it :-D.
____________________________ I didn't know what to put in here.
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
I mean - it's a pretty awful thing to wish upon a developer...
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
SIGSEGV
-
I mean - it's a pretty awful thing to wish upon a developer...
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
So I guess at CP does not ask programmers to write documents. Are you hiring? :)
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
Judging by CP Posts: I will say is W*F where * = P, C, W
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
"solution" (which is now a programming term thanks to VS)
--Mike-- Dunder-Mifflin, this is Pam