|
The problem with both solutions (C++ stream output and C# string interpolation) is that they are of limited use for internationalization. For example, in English you would say:
3 times 5 is 15
What do you do in a language in which you must say
15 is the result of 3 times 5
C# has the formatted string ({0}, {1}, ... specifiers). C++20 has the std::format method.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Well, if you need internationalization then something like numbered format string is need. Both C# String.Format and C++ std::format provide that.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
That's what I said, in the last line of my message!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
LOL. Didn't read that far... sorry...
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Applications need to go global, but language support comes at a cost. For one thing, supporting multiple languages demands additional testing rigor. Sometimes you have to support both the UK and US?
|
|
|
|
|
Kent Sharkey wrote: Sometimes you have to support both the UK and US? And what happens with the australians?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
They're too busy fighting off drop bears to care about analyze vs. analyse.
TTFN - Kent
|
|
|
|
|
On Monday morning, the spacecraft carrying a brand-new toilet finally arrived at the International Space Station. "To boldly go..." (Sorry, but you know I *had* to use that one)
|
|
|
|
|
I imagine they are flushed with excitement.
(your byline is much better, Kent)
|
|
|
|
|
Astronaut: "Houston, we have a problem"
Mission Control: "Um, just jiggle the handle..."
"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
|
|
|
|
|
I wonder if the toilette came with 3 oyster shells...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Agency reportedly lost data after exceeding maximum rows for a spreadsheet. "It's a poor craftsman that blames his tools"
Too political?
|
|
|
|
|
They don't know Excel is not a database ?
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
A decent craftsman, though, knows to spend money on good tools.
I mean seriously, they ran out of rows on an Excel spreadsheet. Muppets.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
“Developers, developers, developers!” Steve Ballmer bellowed on-stage, his shirt drenched in sweat as he repeatedly chanted the word at a Microsoft conference twenty years ago. "It's good to be the king."
|
|
|
|
|
Quote: Developers are in charge again If that was only 25% true
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
The $59 kit comes with online training and certification. Flying car and robot maid available separately
|
|
|
|
|
In this article we’ll explore how some common expressions can be rewritten with these keywords and how they improve the pattern matching syntax. Because ! was too hard to write?
More syntactic sugar to rot your teeth.
|
|
|
|
|
If they added the is to C++, I'd actually support that without the and and or . Retyping the variable each time is tedious.
|
|
|
|
|
Microsoft is rebranding its Bing search engine to Microsoft Bing today as part of a rebranding effort. That's probably the change that people were waiting for before using it
And look at that logo! W000t!
|
|
|
|
|
Is it just me, or does that logo/icon look like a pretentious snob pointing at themselves while bragging about their supposed 'greatness'? Yes, I know arms can't come out of the front your your chest, but it is still the impression I got. (Maybe it is just my own preconception because every time I've tried to use it, I've given up because of its worthlessness.)
|
|
|
|
|
If you can't do what people would like... try to make people like what you do (although sometimes the world would be better if you didn't do it)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Microsoft Windows MSN Bing 365.11 for Workgroups
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
You sir, are ready to work at the Microsoft Naming Corps!
How are you on icons?
TTFN - Kent
|
|
|
|
|