C++

Linus Torvalds Was (Sorta) Wrong About C++

Posted In Programming
shutterstock_Gajus
With all the new (and new-ish) languages out there, you might wonder why it’s still worth learning C++, a language first invented in 1983. Wedged amidst lower-level languages such as C, C++ went through a spike in popularity in the mid-‘90s, when developers realized it was easily translatable to assembly language; but today’s higher-level languages abstract the processor even further away. C++ has a lot in common with its parent, C; but C++ does a good bit more behind the… continue…

Best Programming Languages for Linux Devs

Posted In Programming
shutterstock_McIek
Ask any knowledgeable developer to name the first programming language they would associate with Linux, and he or she would likely answer C, given the closely aligned history of Unix and C. But in the 24 years since it first appeared, Linux has probably been home to every programming language known to humankind: Not just obvious languages such as C, C++, Python and Java but also C# (Mono), Fortran, Pascal, COBOL and Lisp and many more. Check out the latest… continue…

Building a Dungeon Generator in C#

Posted In Programming
Screen Shot 2015-02-17 at 2.57.03 PM
Procedural dungeon generation is a fun exercise for programmers. Despite the crude interface, such games continue to spark interest. A quarter century ago, I wrote a dungeon generator in procedural Pascal; now I’ve taken that old code and converted it to C#. (It’s amazing just how fast it runs on a five-year-old i7 950 PC with 16GB of RAM.) If you want to follow along, you can find my code for the project on SourceForge.  The first part of the… continue…

JavaScript Tops GitHub’s Most Popular Languages

Posted In Programming
GitHut Graph
What are the top programming languages on GitHub? According to GitHut, a website that attempts to estimate and visualize the repository’s most popular languages, JavaScript topped the list in the fourth quarter of 2014, followed by Java, Python, CSS, PHP, Ruby, C++, C, and Shell. With roughly 3.4 million users and 16.7 million repositories, GitHub offers a comprehensive view into not only the most popular languages, but which ones are on the rise; while the top five languages on GitHut’s… continue…

JavaScript Tops Popular Languages, As Swift Rises

Posted In Programming
RedMonk
Developers assume that Swift, Apple’s newish programming language for iOS and Mac OS X apps, will become extremely popular over the next few years. According to new data from RedMonk, a tech-industry analyst firm, Swift could reach that apex of popularity sooner rather than later. While the usual stalwarts—including JavaScript, Java, PHP, Python, C#, C++, and Ruby—top RedMonk’s list of the most-used languages, Swift has, well, swiftly ascended 46 spots in the six months since the firm’s last update, from… continue…

Which Programming Language Pays the Best?

Posted In Looking in Tech
shutterstock_Lightboxx
What programming language will earn you the biggest salary over the long run? According to Quartz, which relied partially on data compiled by employment-analytics firm Burning Glass and a Brookings Institution economist, Ruby on Rails, Objective-C, and Python are all programming skills that will earn you more than $100,000 per year. Java, C++, JavaScript, C, and R also topped the list, routinely racking up salaries of $90,000 and above. Click here to find programming jobs. “The dataset isn’t perfect, it’s… continue…

5 Programming Languages Marked for Death

Posted In Looking in Tech
matthi Shutterstock
As developers embrace new programming languages, older languages can go one of two ways: stay in use, despite fading popularity, or die out completely. We predict the following languages will likely die: Perl There was a time when everyone seemingly programmed in Perl. But for those of us who used the language regularly, there was something about it that didn’t seem right. One programmer I knew called it a “piecemeal” language, because it seemed as if the creators had just… continue…

Are Python and Objective-C Worth Learning?

python example
Last week’s article on the five programming languages you’ll need next year (and beyond) didn’t include two important languages: Python and Objective-C. Python’s exclusion sparked a passionate response from some readers, to say the least, and led us to craft a follow-up to emphasize Python’s importance to the programming world. Python is mature (the first version, created by a computer scientist named Guido van Rossum, was released in 1991). Google, where van Rossum worked for several years, has embraced Python… continue…

5 Programming Languages You’ll Need Next Year (and Beyond)

shutterstock_179081537
We’ve reached a bit of a turning point in the world of programming. Ten years ago, programmers were moving into dynamic languages. To many of us, those languages seemed like a bit of a fad, even if they made programming easier. But those languages endured, and today we’re developing software with a combination of old and new tools. That creates the potential for confusion: What languages are best to learn if you want to stay employed? Before diving into which… continue…

Coding Challenge Wrap-Up: Who Won the Map

Roman Trade Network
Compared to our previous coding challenges, May’s was a modest affair, with just three entries coming in from Rick Matter, Jon Pattinson and Jay Nagel. And, despite opening the entries to include Delphi, Go and Python as well as C/C++, Java and C#, all three were written in Java! (You can find all the competition files here.) In this challenge, you were given a 20×20 map that contained 20 trading islands, each occupying a square. Each island was a trading… continue…