|
I would love to take dates for coffee...
|
|
|
|
|
hahahah guess you got the whole point
|
|
|
|
|
Our old customer service system has some brilliantly bad code in it, but I just had to share this one I spotted this morning.
I think the guy got halfway through and forgot exactly what he was even meant to be fixing, let alone how to fix it.
If CurrentUser.WorkingSession.Market.TaxInclusiveInCatPrice Then
Else
End If
Me.lblTotalOutstanding.Text = String.Format("{0:c}", decOutstanding)
I just wish we still had our old issue tracker to see what the mystical ISSUE 2862 is...
Phil
modified 6-Feb-13 5:50am.
|
|
|
|
|
I have seen something like that, but this time the reason being, the contractor didn't get paid, yup so he eloped with the pending code.. thankfully he didnt' leave behind any ISSUE 2862 for us to figure out
|
|
|
|
|
|
Scarily Issue 2862 on our tracking system was raised in 2003 - I'm now searching our codebase for DenverCoder9
|
|
|
|
|
Actually I found a piece of code very similar but using a C# switch case
switch(someEnumVariable)
{
case enumVal1: throw Exception("enumVal1");
case enumVal2: throw Exception("enumVal2");
case enumVal3: throw Exception("enumVal3");
default: throw Exception("Unknown enum value");
}
weirdly enough it looks like some kind of debugging technique..... but again the title of the forum says it all !!!!
|
|
|
|
|
Apparently, issue 2862 was the total outstanding amount not being updated in case the the "cat" price did not include tax.
|
|
|
|
|
I'm pretty sure Issue 2862 was "Unnecessary If".
|
|
|
|
|
We have come so far with Ads, that even note books have Ads printed and Youtube has Ads at the start, in between and even in the end.... we should be watching ADS-The Movie
|
|
|
|
|
You're posting in The Weird and The Wonderful rather than the Lounge again.
|
|
|
|
|
Is that an ad for the Lounge?
|
|
|
|
|
Of course. Can't have people becoming too interested in what goes on elsewhere on CodeProject.
|
|
|
|
|
|
It's called Ad block Plus.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|
=====
===
=
|
|
|
|
|
I've just spotted an exciting new marketing opportunity:
"Ad-block Plus, brought to you by spam."
|
|
|
|
|
Yes, and everyone seems to be driving around in those noisy, smelly automobile things.
|
|
|
|
|
Hi,
How can i list Country wise banks list in my new web app with out storing the list in db .
Is there any solution there to do this through webservices
Thanks
|
|
|
|
|
And this has nothing to do with the forum. Read the message at the top of the forum.
Q&A is probably the better place to ask, but even then I don't think you would get much of a positive answer as there is insufficient content and context as to what you are trying to achieve.
|
|
|
|
|
|
Don't cross post, you've already posted this in the C# forum.
|
|
|
|
|
no programming questions thats what the header says.
|
|
|
|
|
Please delete it if you don't want to get many minus points because people in here vote it as abusive.
|
|
|
|
|
Of course there's a solution with webservices!
You can do anything with webservices, you just need enough of them.
And lots and lots of really verbose XML. Can't have a solution with webservices without lots of XML!
Quidquid latine dictum sit, altum viditur.
|
|
|
|
|
Hi,
I have a confusion in which of the below one's to go, any suggestions please regarding the future if I take one.
I was working in latest technology for Healthcare Industry(5+ yrs). However I worked in VB.NET for 9 months but I'm in love with C#
Now I got two offers to work
1. Work as a Consultant in Banking sector with the latest cutting edge technology like C#, MVC3 , WCF.
2. Permanent full time opportunity to work in Healthcare domain with ASP.NET in VB.NET programming
Thanks,
Ranjan.D
|
|
|
|