Programming

News, information and advice on writing the best code possible.

Why Don’t Software Engineers Get More Respect?

Tearing Up Resume
Not many people would argue that technology isn’t central to business nowadays. It’s hard to imagine any kind of company of any size operating without some kind of technical system in place to support it—if not drive it. So why don’t software engineers get more respect? That’s what TechCrunch columnist Jon Evans was thinking about the other day. What got him going was a blog post by Michael O. Church, a software engineer who blogged about how differently he was… continue…

Creating Random Access Text in C#

Contents of the Two Files
Back in April I looked at disk folders as a possible alternative to NoSQL or using a relational DB. My conclusion wasn’t encouraging—I was concerned about poor performance, especially on Linux. The use case I examined was for a server that had from 100,000 to 1 million users. I wanted to store and retrieve text files for any user. Those files could vary in length from a few bytes to a few KB. Back in the dark ages—before the Web… 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…

6 Developer Tips for Better Disaster Recovery

Blue Screen of Death
You go through life thinking that it won’t happen to you, but someday it will: Your development PC suddenly goes from being state-of-the-art to having the computing power of a brick. How quickly you get back into action depends upon your budget and preparedness. Over the recent July 4 weekend it happened to me. The disaster was partially of my own making. Thanks to a slightly dodgy set of RAM—both Ubuntu and Windows 7 memory tests agreed on this—I was… continue…

Python, Swift, JavaScript, Java: Best Ways to Learn Them

shutterstock 3d brained
Learning a new programming language—or merely staying adept in ones you know already—is a necessary challenge for programmers and developers who want to stay relevant. Fortunately, every popular programming language comes with tons of documentation, as well as a variety of online tutorials. Check out these handy resources: JavaScript ranks high on everybody’s list of the most popular programming languages. Earlier this summer, for example, tech-industry analyst firm RedMonk drew publicly available data from GitHub and Stack Overflow that suggested… 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…

Is There a Future in Programming D?

D Programming Language Thumbnail
Over at HTML5Report.com, Steve Anderson is wondering if D is the next big programming language. D took form when Walter Bright and Andrei Alexandrescu combined their efforts to develop a new language back in 2005. The result, says Anderson, offers some “very exciting” possibilities, and he notes that the ad-tech firm Sociomantic Labs, recently acquired by Tesco for $200 million, used D to build its online system. Making things more interesting is another online company’s interest in D: Facebook. Click… continue…

From Linux Sys Admin to Programmer in 3 Easy Steps

C Programming
We got an email from a Dice user: “I’d like to move from Linux systems administration to programming. What’s the best way to make a smooth transition?” He’s in a good place. His knowledge of Linux servers, the Linux command line, distribution and tools will serve as a solid foundation for a career in programming and development. Plus, learning how to program the Linux kernel will boost his market value and help him capitalize on the growth of DevOps, notes… continue…

Here’s Apple to Teach You About Swift

Screen Shot 2014-07-14 at 9.30.54 AM
As a company, Apple has a well-earned reputation for CIA-caliber secrecy. New products are developed under tight security, employees always refuse to comment on new projects and good luck trying to get a quote out of an executive if you’re a member of the press. With that in mind, the company’s latest move is a bit of a shocker: the debut of an official blog devoted to Swift, meant to provide “a behind-the-scenes look into the design of the Swift… continue…

Is the Time Right to Learn Python 3?

Python Logo
Python is an excellent and very popular programming language, considered one of the best-designed. It has a simple, clear syntax and runs very fast (faster if you compile it with CPython), but there is one slight problem facing anyone new to it: Which version should you learn? There are two versions of Python—Python 2 and Python 3. Python 2.7 is the last of the 2.* series (currently up to 2.7.7) and has been the recommended version to learn for ages.… continue…