|
But you're not using it as an email address. You're using it as a username. Usernames are case sensitive. It's really very simple. You are the one that's inconsistent. Microsoft is being a shining example of truth and light!
I am not a number. I am a ... no, wait!
|
|
|
|
|
9082365 wrote: You're using it as a username
Yes, I am.
9082365 wrote: Usernames are case sensitive.
Yes, they are.
And I entered it in ProperCase both times...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Sorry. I took into possession the improperly designated terminus of the whittled object.
I am not a number. I am a ... no, wait!
|
|
|
|
|
Who do you think writes all the code for Microsoft? (QAers perhaps?).
|
|
|
|
|
That.
Would.
Explain.
A.
Lot.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Odd - perhaps the latest version of .NET doesn't have a case-insensitive string comparison method? I'd not have gotten rid of it.
With only one exception, I've never had UID or email as case-sensitive items. Passwords, only, for that. I don't even recall the exception at this point. It's just a bug (see paragraph 1) which will no doubt be hailed as a security feature.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
OriginalGriff wrote: Everything on t'interwebs agrees that they are.
Really?
Yes, Email Addresses Are Case Sensitive.
...
The domain name part of an email address is case insensitive. The local mailbox part, however, is case sensitive.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
From memory the part after the @ is not case sensitive, but the part before the @ is case sensitive, but it is provider-specific, so might not be case sensitive.
Still a big WTF for Microsoft there though.
|
|
|
|
|
I wish there's a way we can enforce devs to type the argument name and pass value , like
void DoProc(someobjects obj1,2,false,true,false,UpdatesLIVEDB_MisuseOfThisFlagcanGetYouFired:true);
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
How about?
class DoProcArgs
{
public bool UpdatesLIVEDB_MisuseOfThisFlagcanGetYouFired;
public int Response = 42;
public string Blahblahblah = "Meh";
}
void DoProc(DoProcArgs args);
|
|
|
|
|
Honestly one of my favourite ways to put arguments in functions as it allows maximum flexibility.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
If a coffee bean is between the Earth and the Sun, is it a Java Eclipse? -- Sascha Lefèvre
/xml>
|
|
|
|
|
me too!
|
|
|
|
|
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
|
That's the proper solution.
|
|
|
|
|
Would you want to seal that? Or might you want to make an Interface?
|
|
|
|
|
Except when the name too long
For instance
BigLongClassNameThatDoesLotsOfStuff.DoLotsOfStuffLongCallFunctionUpdateArgs args
|
|
|
|
|
enum class MostlyHarmlessFuncArg : bool { vanilla=false, FireMeIfYouCatchMeUsingThis = true };
|
|
|
|
|
I've used a similar approach occasionally:
class DoProcArgs
{
public bool UpdatesLiveDB { set; get; };
public int Response { set; get; };
public string BlahBlahBlah { set; get; };
public DoProcArgs()
{
UpdatesLiveDB = false;
Response = 42;
BlahBlahBlah = "Meh";
}
}
void DoProc(DoProcArgs);
DoProc(new DoProcArgs() { Response = 84 });
DoProc(new DoProcArgs() { BlahBlahBlah = "Yup", UpdatesLiveDB = true }); This works in Visual C# 2008. Visual C# 2010 introduced named and optional arguments[^].
Software Zen: delete this;
|
|
|
|
|
enum s, maybe. Pity about automatic conversions.
enum DangerLevel
{
Safe,
FamilyJewelsInASling
};
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
And we just call this argument "Gladys"?
And is this the right forum for an argument?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OriginalGriff wrote: And is this the right forum for an argument? Well, do you want to have the full argument, or were you thinking of taking a course?
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
I'm sorry is this the five minute argument or are you here for the full half hour?
|
|
|
|
|
I've told you once.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|