|
Folks seem to enjoy pointing out that I use printf in many of my examples of “modern C++”, as if printf is not really proper C++. Apparently, I should be using cout. If it ain't broke...
|
|
|
|
|
Use what works. The older the better. Stay portable. Don't use the latest thing simply because it's the latest thing.
|
|
|
|
|
PIEBALDconsult wrote: Don't use the latest thing simply because it's the latest thing. 5M+
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I personally love using the printf() command, and it seems more legit (at in my opinion). I do not only love this one feature, but I prefer C language as compared to C++ in many ways and I believe, C is way more better, although there are new fixes to the C++ making it a little more efficient.
But, after all this, writing,
printf("Hello World!");
.. seems reasonable, as compared to writing,
cout << "Hello World!";
.. Oh, well who can blame Bjarne now, everything seems to be working.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Why use a function that scans for formatting specifiers when you're just outputting a fixed string?
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
The company is under relentless attack by European authorities who won't stop until they do real damage. It's nicer in the south this time of year
|
|
|
|
|
Kent Sharkey wrote: European authorities who won't stop until they do real damage.
Or more likely until the links between the Jean-Claude Juncker who is the current president of the European commission and the Jean-Claude Juncker who was finance minister and then prime minister in the tax avoidance scheme country of Luxembourg are "forgotten". Whichever occurs first.
|
|
|
|
|
Generic offerings, specialized needs, and a desire to own one's destiny are shifting IT away from third-party private clouds. I could have sworn that was spelled, "Server room"
|
|
|
|
|
The simple act of saving something, such as a file on a computer, may improve our memory for the information we encounter next, according to new research. "If you wish to forget anything on the spot, make a note that this thing is to be remembered."
|
|
|
|
|
The computer scientist credited with inventing the World Wide Web says affordable access to the Internet should be recognized as a human right, as a report showed that billions of people still cannot go online and government surveillance and censorship are increasing. "Know your rights. All three of them."
|
|
|
|
|
Near perfect timing, looks like, just around this[^].
Not sure whether this was coincidental, or intentional.
|
|
|
|
|
Microsoft needs new ways to generate revenue, and a subscription-based Windows 10 version is a likely approach. But consumers may get a basic version for free. That should finally lead to The Year of Linux
|
|
|
|
|
Quote: He predicted more expensive Windows editions that enterprises purchase will likely "shift toward a subscription mode, on top of the base product."
I thought software assurance already was a primarily subscription based model.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging 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
|
|
|
|
|
Not on the consumer side.
|
|
|
|
|
By June of next year, HP will be showing off what it hopes will become the future of the operating system. Linux++? Sorry, no joke here, they've already made the punchline.
|
|
|
|
|
Interesting ....lets see
|
|
|
|
|
HP Anywhere ....An Innovative mobile app development platform for the enterprise.
|
|
|
|
|
Forget proprietary code; now vanity languages are the lock-in threat. "I'm not locked in here with you. You're locked in here with me!"
|
|
|
|
|
We are planning to create our own lang.
|
|
|
|
|
Meebo gloop malga onkunor feesillitude. Veeson glipta howfa tay?
It's a very proprietary language. I made it up and I don't even know what it means.
|
|
|
|
|
Thought you were channeling Jar Jar Binks there for a while.
TTFN - Kent
|
|
|
|
|
Kent Sharkey wrote: Thought you were channeling Jar Jar Binks there for a while.
That's what I thought too!
Marc
|
|
|
|
|
It's unfortunate, IMO -- programming languages, like programs themselves, were once carefully crafted and engineered things. Of course, that's just a delusion on my part. But it seems like nowadays, just about anybody can put some pile of syntax together and come out with some custom language. This cruft even affects C#, which I hold in high regard.
The difference though is, years ago, the programming language was the thing. Nowadays, I think the language takes more of a back seat, or at least the passenger seat, to the supporting framework and community.
But the problem, following Rosenberg, is that declaring allegiance to one language tends to block you from others. Developers simply don't have time to master a number of competing development platforms:
And that is exactly where the author steps on his shoe laces and trips, by swapping "language" with "development platform." Certainly, a language like Java is not tied to Android, just as Ruby is not tied to Linux development.
The two are very different. I find that I can pick up a language in a matter of hours or days, but it's the development platform and supporting framework that can take months, if not years to master.
For developers, then, choosing a language is like choosing citizenship in a country. You’re not only buying into syntax and semantics. You’re buying into economics and culture, the rules that shape how you earn your livelihood and the forces that channel your hopes and dreams.
The funny thing is, I don't look at the language first. If I'm going to develop for Android, I look for the best toolset and development platform, the language just comes along for the ride. But that's me.
Marc
|
|
|
|
|
|
I just had this discussion with the guy who is going to replace me at my current job.
He said he refused to do database work because he was a C# developer.
Personally I think that's pretty narrow minded (and even ridiculous). I can understand you leave the heavy database work to the experts, but refusing because you're a C# dev?
I think every developer should have a basic SQL knowledge (and I know it's actually a problem that many haven't!).
So he asked me if I wanted to be a good C# developer and if I did I couldn't also do SQL (I couldn't be good at both and I needed to make a choice).
Well, there's the point. I think by knowing about other languages and paradigms you become a better programmer in all. You can learn the syntax of any language in a few weeks tops (especially once you've seen a few!). Knowing about memory management, type systems, patterns, data structures, etc. makes you ease into any language fairly easy.
The hard part is getting to know the libraries and environment and we have tons of those and everyone uses different libraries anyway, even in C#.
Well, his 'responsibility' for the software ended with the Entity Framework. And with his lack of SQL knowledge I bet he'll write some pretty horrible LINQ queries
My blog[ ^]
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|