|
I've not done any C++ for years but I take an interest every now and then to see what's going on. Aren't there a few beginner C++ books around that teach "modern C++?" Doesn't Stroustrup have one or is that just a course?
Anyway, I gather Stroustrup himself says you should start with the high-level[^] (not necessarily OO but high-level procedural) and then move to the lower level as required. But many C++ devs disagree with Stroustrup.
Kevin
|
|
|
|
|
People get confused :
C++ != OOP
C++ is a multi-paradigm language, it does not only do OOP it can do a lot of good declarative programming.
Nihil obstat
|
|
|
|
|
Maximilien wrote: it can do a lot of good declarative programming
Do you mean imperative programming?
|
|
|
|
|
|
Like this[^]. Teaches problem solving via C++.
|
|
|
|
|
I recently took the World of Warcraft Starter Kit I did for Windows, which was written in WinJS (Windows Library for JavaScript), and ported it to Windows Phone. Since there is currently no WinJS available for Windows Phone I chose to write a XAML/C# native Windows Phone app and then make my network calls using the Web Browser Control. This is the same common approach that is used in the Windows Phone HTML5 App template and other popular tools such as Intel’s XDK. Code of the Realm.
|
|
|
|
|
|
Everything other than the code that performs the task at hand is just overhead. We don’t need a fancy date picker control in a nicely styled page for the vast majority of our internal tools. We don’t even really need a page, for that matter. We just need a way to issue a command to the application and have it, in turn, execute the code that we’ve written to accomplish a given task. All we really need is a simple console application! Start with something that runs at the command line, and then build a UI on top of that if you need to.
|
|
|
|
|
I would tend to disagree. It may be fine for the initial programmers, but as time goes on, many of the original programmers will leave, and the new ones will have to understand how to use the command line tools. A gui makes it a lot easier to get up to speed with a tool. Yes the maintenance is greater, but hopefully once the tool is made, there will be little change.
|
|
|
|
|
There are many, many things that are not needed and are nonetheless extremely useful. The argument of "need" is absurd.
|
|
|
|
|
Start with an API and then build whatever interfaces you need.
|
|
|
|
|
I am a junior developer. My current job title may be just “Software Developer”, but I am 18 years old (turning 19 in August), and therefore, to the software industry, I am a junior developer. So what does that really mean? ... Rather than coming up with a formal definition, I will give some examples, from which you can derive the meaning. You might be a junior developer if you...
|
|
|
|
|
Google has finally come clean that they figured out what many of us have been repeating for years: brain teasers in interviews don’t lead to measurably better employee outcomes. I’ve never interviewed at Google but I did interview at a company that asked me a “brain teaser” question.... These aren’t just wacky – they’re stupid. Not only do these questions bear little resemblance to anything we do in software development, it’s lazy to use brain-teasers. You're in a desert, walking along in the sand, when all of a sudden you look down...
|
|
|
|
|
... and 100 zerglings, 20 roaches and 15 hydras unburrow and demolish your base in 5 seconds.
Ultras are attacking the 3rd, while corruptors deters battlecruisers...
I'm sorry, what was the question?
Nuclear launch detected
|
|
|
|
|
There has been a lot of speculation and assumptions around whether PRISM exists and if it is cost effective. I don't know whether it exists or not, but I can tell you if it could be built. Short answer: It can.... Let's experiment and try to build PRISM by ourselves. For the low, low price of $187M Per Year, you too can spy on everyone.
|
|
|
|
|
Good night, TechNet. The online Technet blogs and customer support forums will live on, but Microsoft announced today in a letter to subscribers that it plans to retire its venerable TechNet subscriptions service. New subscriptions will no longer be available after August 31, 2013, and the subscription service will shut down as current subscribers' contracts end. Sorry, you'll have to pay for your production licenses from now on.
|
|
|
|
|
When Mozilla said devices running Firefox OS would be cheap, we didn't know they'd be this cheap. Telefónica has just tweeted that the ZTE Open will be launching in Spain tomorrow for €69, which translates to around $90 and is a good $30 less than the cheapest developer unit we'd seen until now. Web apps need data plans, and data plans ain't free. Cha-ching!
|
|
|
|
|
Unlike the cool startup kids building stuff with "Socket.io on top of Node.js with MongoDB and a Rails layer", our startup is mostly Microsoft-based. To be honest, I do regret that sometimes... I wish I was a cool kid too - hacking stuff in XCode, doing Rails development... In fact, we do try all these tools for our experimental projects. But when it comes to a commercial product - after hours of discussing all the pros and cons we keep choosing Microsoft. Over and over. C# and Visual Studio are two big plusses.
|
|
|
|
|
You appeared on the search engine scene in December 1995. You made us go “woah” when you arrived. You did that by indexing around 20 million web pages, at a time when indexing 2 million web pages was considered to be big. Today, of course, pages get indexed in the billions, the tens of billions or more. But in 1995, 20 million was huge. Existing search engines like Lycos, Excite & InfoSeek (to name only a few) didn’t quite know what hit them. With so many pages, you seemed to find stuff they and others didn’t. What once would find is now lost.
|
|
|
|
|
If you’ve ever profiled an optimized build of a C++ application there is a good chance that you looked at the profiling report and saw some functions missing that you expected to be present so you had to assume that they had been inlined but couldn’t be certain. Likewise, if you’ve ever tried to improve your application’s performance using the Profile Guided Optimization (PGO) feature in Visual Studio, you were likely blind to whether your training data actually had the desired effect. To help with this, in Visual Studio 2013 we’ve done work to help you understand when the compiler inlines functions and how your PGO training data has translated to the optimized binary. Look who's optimizing the optimizers!
|
|
|
|
|
Since the newer Visual C++ content is not yet live on MSDN, I copied the key bits from the "What's New for Visual C++ Developers" and replicated it below. Note that this post may be removed after the MSDN content has been available for a few weeks. On the road to C++ 14, a detour through some C99 libraries.
|
|
|
|
|
Facebook recently launched support for hash tags as well. So, in a way, our online life revolves around hash tags. Given that, it’s a really great thing for bash power users that # in shell means comment. I usually tend to type long commands and won’t bother remembering or saving them somewhere as it is in the bash history and i can retrieve it by reverse-i-search (Ctrl+R) anytime I want. #CommandLineFTW!
|
|
|
|
|
As discussed in my book, to predict the future of a high tech industry such as computing is not particularly difficult. I believe in the foreseeable future the computing industry is still going to advance based on Moore’s law. Although, it is possible that in the next year or two quantum computers become a practical reality, in that case it will change everything! An Interview with Yukihiro "Matz" Matsumoto.
|
|
|
|
|
The approach of this online HTML treatise is to focus mostly on those particular elements ("tags") which are gone, or at least going away, and to track in detail the comings and goings of the various elements and attributes across the versions of HTML. A special emphasis is given here to those many versions of HTML that precede HTML 2.0, a breakdown of the many discrete versions of HTML, which is something that to my knowlege has not yet been attempted. The very oldest known surviving HTML file was last modified on Tue, 13 Nov 1990...
|
|
|
|
|
The film explains the core concept of UNIX by demonstrating modularity with a great example by Brian Kernighan. He took a short passage from a paper he wrote and found spelling errors by piping his paper though different commands from the shell. First the words in the paper were separated line by line, made lowercase, and sorted alphabetically. All the unique words were extracted from this list, and compared to a dictionary. A spell checker in one line of code, brought to you by the power of UNIX. A quick tour of programming Unix, circa 1982.
|
|
|
|