Programming's Foul Language
-
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
-
So I guess at CP does not ask programmers to write documents. Are you hiring? :)
The point is that I'm evil.
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
Senior Developer with 3 years experience and contract rates that are less than full-time w/ benefits compensation but that is just me.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
public void InSpace()
{
try
{
// Scream...
you.Scream();
}
catch(Exception ex)
{
// No one can hear you...
}
}Do you know...LinFu?
-
What programming terms would you consider equivalent to foul language? For example: Legacy Code
Todd Smith
1. Any code that uses disk files for temporary variable storage. It means speed is throttled by disk IO, which makes delayed write required, which threatens the entire system file system. 2. Yes: "Option base 1" is such a bad idea. 3. Any do-nothing wait loop without an abort mechanism: the HP/RMB BASIC "WAIT {seconds}" would stop the whole machine, including the display and IO while it did nothing. 4. Any compiler that allows uninitialized variables. Random values cause unpredictable behavior/crashes. 5. Any (real time/ ISR) code that will stack overflow if the CPU is too slow. ...etc