C# 4.0. w00t.
-
-
Dynamic variables are nothing to shake a stick at, imo.
:josh: Try Crack![^] Sleep is overrated.
-
Dynamic variables are nothing to shake a stick at, imo.
:josh: Try Crack![^] Sleep is overrated.
I was going to post tomorrow's survey as "Does the thought of Dynamic variables make you break out in a cold sweat?" Nice idea, but I can just picture the code that is going to come from developers who don't understand when and where to use them. And not use them.
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
I was going to post tomorrow's survey as "Does the thought of Dynamic variables make you break out in a cold sweat?" Nice idea, but I can just picture the code that is going to come from developers who don't understand when and where to use them. And not use them.
cheers, Chris Maunder
CodeProject.com : C++ MVP
Chris Maunder wrote:
Nice idea, but I can just picture the code that is going to come from developers who don't understand when and where to use them. And not use them.
Please try explaining that logic to the manufacturers and distributors of firearms. I'd love to live in a world where things like this[^] are unheard of.
:josh: Try Crack![^] Sleep is overrated.
-
I was going to post tomorrow's survey as "Does the thought of Dynamic variables make you break out in a cold sweat?" Nice idea, but I can just picture the code that is going to come from developers who don't understand when and where to use them. And not use them.
cheers, Chris Maunder
CodeProject.com : C++ MVP
Chris Maunder wrote:
icture the code that is going to come from developers who don't understand when and where to use them. And not use them.
took the words right out of my mouth~
Life is like a pubic hair on the toilet seat... ...sometimes, you just get pissed off. .\\axxx (That's an 'M')
-
I was going to post tomorrow's survey as "Does the thought of Dynamic variables make you break out in a cold sweat?" Nice idea, but I can just picture the code that is going to come from developers who don't understand when and where to use them. And not use them.
cheers, Chris Maunder
CodeProject.com : C++ MVP
Chris Maunder wrote:
Does the thought of Dynamic variables make you break out in a cold sweat?"
Heck, it gives me nightmares. I have enough trouble getting variables to hold the values I gave them!
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
-
Chris Maunder wrote:
My life is complete.
Not until you've tried women; then you're done.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
-
But, but, you had those in C++ and VB(A). How many times can you complete your life (if you're not a cat)? :)
- S 50 cups of coffee and you know it's on! A post a day, keeps the white coats away!
-
Chris Maunder wrote:
Named and Optional Parameters.
VB has had those since... oh... the dinosaurs. So C# 4.0 is really VB in disguise? ;P
-
VS for C/C++ programmers (not necessarily MFC) has sucked since the end of VS 6. You want help with that function? No, you have too many template classes. It is nice that they continue to make their tabs rounder, and their gradients smoother. I've always said, "you know what VS could use? More gradients!"
-
Chris Maunder wrote:
Nice idea, but I can just picture the code that is going to come from developers who don't understand when and where to use them. And not use them.
Please try explaining that logic to the manufacturers and distributors of firearms. I'd love to live in a world where things like this[^] are unheard of.
:josh: Try Crack![^] Sleep is overrated.
Josh Smith wrote:
I'd love to live in a world where things like this[^] are unheard of.
Mmm, you'll be waiting an awfully long time. Every gun in the world could be destroyed and you'd still get random stabbings, baseball battings, getting run over by cars... the very nature of freedom is one of risk. That's the nature of reality as we currently inhabit it. Now, if we could invent an alternate reality where freedom and absolutely perfectly responsible behavior went hand in hand... but I digress.
-
you mean like in javascript? :rolleyes:
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
-
Optional parameters would be damn handy.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Chris Maunder wrote:
Named and Optional Parameters. My life is complete.
A w00t for that! Jesus Chris, what you doing for Code Projects 9th birthday? Feel like a leisurely flight to Sydney and a few hours of drinking over at old Mount Druitt? You can even bring your snowboard along, we could do with the shade.
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
-
Optional parameters are, imho, a bad thing, most of the time. It's a more structured variation of the "Accumulate and fire" antipattern. All too often, optional parameters are actually fields in a class that you are missing. And, if you're missing fields, you're missing methods. This, on the long run, means longer methods, repeated code, and harder to test. For quick and dirty code, it's a good tool, but not on larger projects.
I see dead pixels
-
Optional parameters are, imho, a bad thing, most of the time. It's a more structured variation of the "Accumulate and fire" antipattern. All too often, optional parameters are actually fields in a class that you are missing. And, if you're missing fields, you're missing methods. This, on the long run, means longer methods, repeated code, and harder to test. For quick and dirty code, it's a good tool, but not on larger projects.
I see dead pixels
You know how many string.Format methods there are? 5 You know how many have actual code (instead of calling another overload)? 1 And that is just one example, there are lots of overloads in the .NET frameworks that do nothing else. I don't see how you could handle this with extra fields...
-
Josh Smith wrote:
I'd love to live in a world where things like this[^] are unheard of.
Mmm, you'll be waiting an awfully long time. Every gun in the world could be destroyed and you'd still get random stabbings, baseball battings, getting run over by cars... the very nature of freedom is one of risk. That's the nature of reality as we currently inhabit it. Now, if we could invent an alternate reality where freedom and absolutely perfectly responsible behavior went hand in hand... but I digress.
Patrick Etc. wrote:
Every gun in the world could be destroyed and you'd still get random stabbings, baseball battings, getting run over by cars... the very nature of freedom is one of risk.
True. So, with that logic, why not sell nuclear bombs at K-Mart? :)
:josh: Try Crack![^] Sleep is overrated.
-
Chris Maunder wrote:
Nice idea, but I can just picture the code that is going to come from developers who don't understand when and where to use them. And not use them.
Please try explaining that logic to the manufacturers and distributors of firearms. I'd love to live in a world where things like this[^] are unheard of.
:josh: Try Crack![^] Sleep is overrated.
-
-
Optional parameters would be damn handy.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001