|
So...carry an umbrella?
cheers
Chris Maunder
|
|
|
|
|
detailed info (PDF file) here: ^]
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
From another thread I realized that it's now time to rename C++ to "Templates with C". It started out as "C with Classes" then "C++", and now "Templates with C". Before long it's going to become "Templates without C", then it'll just be "Templates, B$tch".
A string constant in the "Templates without C" language:
std::char<std::char::H>(std::char<std::char::e>(std::char<std::char::l>(std::char<std::char::p>)))
Explorans limites defectum
|
|
|
|
|
C programmers just do it all with macros. and they like it.
|
|
|
|
|
... just yesterday was looking at some code, forget what it was for but thought to myself:
if only c# had paramterised macros with conditional compilation, that would be perfect here.
sigh, many years on still miss em.
Message Signature
(Click to edit ->)
|
|
|
|
|
With care, one can pass C# through a standard C pre-processor. I do all the time.
|
|
|
|
|
The downside of C/C++ macros is that there is no specific syntax to invoke them. So they can just randomly rename things in your code because you happened to name something the same as some macro that you never even knew existed.
I'm sure most C++ programmers have had some scenario, if they are interacting with system APIs, where they get an error saying that XYZ doesn't exist but you don't have anything in your entire code base named XYZ. And it turns out there's a macro that translates ABC to XYZ, and you named something ABC.
Explorans limites defectum
|
|
|
|
|
Back to C. ASAP. No template template parameters. No traits. No SFINAE and RAII. Just C, please!
|
|
|
|
|
I wouldn't go that far. You don't have any to use that stuff while still getting a lot of benefits from C++ over C. My system has a fairly minimal set of templates, just where they really add something important. RAII (though I think the concept is much broader and call them Janitors) I use a lot. They are one of the best things about C++. I have janitors for lots of things, not just allocating and deleting things, but setting or changing things on a scoped basis and such.
Explorans limites defectum
|
|
|
|
|
Is the retail price the cost of repairing the back of the plane?
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!
|
|
|
|
|
And: is curtail the discounted cost?
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Nice way to elevator game, it's rudder genius.
"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
|
|
|
|
|
it's the delivery costs that'll get you, particularly if sent mid flight
Message Signature
(Click to edit ->)
|
|
|
|
|
Yes, and it nose-dived lately.
|
|
|
|
|
Yaw gonna need more than a vertical stabilizer to steer us to your jokes.
The best way to improve Windows is run it on a Mac.
The best way to bring a Mac to its knees is to run Windows on it.
~ my brother Jeff
|
|
|
|
|
|
I can see vintage of wine could be different... but where are the Klingons...
|
|
|
|
|
glennPattonWork wrote: I can see vintage of wine could be different Depends 'ow 'ard the grapses are to pick, Guv.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
LOL!!! Major fail on the part of the producers ...
- they spray the vines with pesticides (and/orevery other *cides they can find... ) That does not seems like a Picard things to do, he looks to be a non intervention kind of wine producer.
- They put Bourgogne wine in a Bordeaux type of bottle !!!
I'd rather be phishing!
|
|
|
|
|
Quick - flush the wine box down the loo, it's the Wine Police!
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!
|
|
|
|
|
I aim to please.
I'd rather be phishing!
|
|
|
|
|
ohh an expert
which way around are you supposed to store wine boxes in the racks?
Message Signature
(Click to edit ->)
|
|
|
|
|
Don't know, I drink them before I need to store them.
I'd rather be phishing!
|
|
|
|
|
I noticed that as well, but then remember these are Muricans writing this.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|