|
You're welcome!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Is disband to make fun of a musical group?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
true, so much crap these days, not hard to become a contraband fanatic.
Message Signature
(Click to edit ->)
|
|
|
|
|
What group? Are you talking about disband or datband?
/ravi
|
|
|
|
|
As long as you're NSYNC with the rules of dissing.
|
|
|
|
|
For Nickelback it is just a reasonable suggestion.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
No, it's disband instead of datband
CQ de W5ALT
Walt Fair, Jr.PhD P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Found this gem:
Quote: Getting an int value from enum can be challenging in C#. However, it can easily be done by using the following code:
OK, which is it? Challenging or easy?
And a horrid discussion of why it can be challenging continues on Learn C# - How To Get Int Value from Enum[^] with this code example:
enum DifferentType {
long WeInt = 1,
short creat = 2.345
}
That leaves me speechless. It's broken and borked on so many levels.
|
|
|
|
|
Quote: Challenging or easy How about both?....Cheasy.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Marc Clifton most definitely did NOT write: enum DifferentType {
long WeInt = 1,
short creat = 2.345
}
I think I'm getting it ...
Yep, it's 7-letters, the first one's an 'S', it definitely ends in "UM" ...
(apologies to anyone who doesn't follow the CCC threads)
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
PeejayAdams wrote: I think I'm getting it ...
Yep, it's 7-letters, the first one's an 'S', it definitely ends in "UM" ...
(apologies to anyone who doesn't follow the CCC threads)
...and loving it.
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
|
|
|
|
|
That is broken for sure - although technically not.
However, it does make me think why don't we just use a readonly, const, static, whatever, class full of values as they (sort of) show in a later example instead of an enum? ...and no casting required.
Is it really much of a performance hit, if any?
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Well, that enum is just wrong.
Will that even compile?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: Will that even compile? therein lies the challenging part
Message Signature
(Click to edit ->)
|
|
|
|
|
#realJSOP wrote: Will that even compile?
Hell no. Not now, not in 2016 when that post was written.
|
|
|
|
|
By unhappy coincidence, I've just finished writing a section for a style guide that tells people never to say that something is difficult, challenging, complicated, etc. -- because, if you do, people will believe it, and it will become a self-fulfilling prophecy.
Marc Clifton most certainly did not write:
enum DifferentType {
long WeInt = 1,
short creat = 2.345} Well, at least they've proven that they can count up to five -- but not much else.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
This is the side effect of "You must use enums for comparisons so that the code is maintainable." code review comments.
|
|
|
|
|
I hate this kind of dogmatic crap.
What the hell is wrong with a define, in upper case for comparisons?
|
|
|
|
|
It's easy. Unless you're doing it wrong, in which case it's challenging.
|
|
|
|
|
Wow...
and with a slogan of "Take your skills to the next level" I'm just wondering what level they speak of?
Technician
1. A person that fixes stuff you can't.
2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge.
JaxCoder.com
|
|
|
|
|
I think they're talking about level 4 (by Dante's reckoning).
|
|
|
|
|
|
OMG, code in the Lounge, will the un go dark next?
Isn't Ord(MyEnumVar) easier?
|
|
|
|
|
In August I will be in London / Bath / Cardiff and I'm trying to book a date for A Midsummer Night's Dream.
Well, they have a site that seem made in the early 2000s, with a non functional payment section (maybe it works only for the UK Maestro cards because with my Mastercard it simply shows a blank space after I click on pay).
Truied with all the browsers on different days, nada. No PayPal option. Send an e-mail to support: they booked the seats for me (I told them the seats and date in the e-mail) I just have to phone to pay. International phone call, ugh, ok no problem... the number they gave me is inactive, and it's the same advertised on their site. [this was a problem on my side, I had to mangle the number to make the call from abroad]
I'm not sure if I am a (wannabe) spectator of a show or the unwitting actor of a comedy.
GCS d--(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--- r+++ y+++* Weapons extension: ma- k++ F+2 X
modified 22-Jul-19 10:23am.
|
|
|
|
|
if the sites looks that old perhaps ie 5, or mosaic netscape 3 will work?
(just don't expect any secure/https connections or encryption of your credit card details.)
Message Signature
(Click to edit ->)
|
|
|
|